Self-host Graylog
Centralized log management on MongoDB and OpenSearch, with search, dashboards, and alerting for large-volume log ingestion.
Key facts
Choose Graylog when you're centralizing serious log volume — search, dashboards, and alerting across OpenSearch, with MongoDB for configuration — and you have a real ops team to run it. If your logs fit on one box and you don't need Graylog's specific search UI, OpenObserve or SigNoz is dramatically less to operate.
Follow the Graylog deploy guide →What you need
- Any VPS with at least 8192 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About the better part of a day
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Graylog — official docker-compose stack (Graylog + MongoDB + OpenSearch)
git clone https://github.com/Graylog2/docker-compose && cd docker-compose/open-core
# the compose files live in open-core/ (also: cluster/, enterprise/, forwarder/)
# the stack reads both secrets from a .env file, not from docker-compose.yml:
printf 'GRAYLOG_PASSWORD_SECRET=%s\nGRAYLOG_ROOT_PASSWORD_SHA2=%s\n' \
"$(openssl rand -base64 32 | tr -d '\n')" \
"$(printf changeme | sha256sum | cut -d' ' -f1)" > .env
# replace 'changeme' above with your own admin password before running
docker compose up -d # → http://SERVER_IP:9000What you take on
Graylog is the heaviest tool in this roster, and the licence is the first thing to get right: