Skip to content

Instantly share code, notes, and snippets.

@wakproductions
Last active December 9, 2019 00:00
Show Gist options
  • Save wakproductions/a109ff842b5617bedcbad3ecd017479e to your computer and use it in GitHub Desktop.
Save wakproductions/a109ff842b5617bedcbad3ecd017479e to your computer and use it in GitHub Desktop.
Graylog Cheat Sheet

Docker commands:

$ docker run --name fin-graylog-mongo -d mongo:3
$ docker run --name fin-graylog-elasticsearch -d elasticsearch:2 elasticsearch -Des.cluster.name="graylog"
$ docker run --name fin-graylog-server --link fin-graylog-mongo:mongo --link fin-graylog-elasticsearch:elasticsearch -d -e GRAYLOG_WEB_ENDPOINT="http://127.0.0.1:9000/api" -e GRAYLOG_REST_TRANSPORT_URI='http://127.0.0.1:12900' -p 9000:9000 -p 12900:12900 graylog2/server

Graylog2/graylog2-server#1908 The purpose of GRAYLOG_PASSWORD_SECRET is also under-documented and there should be a suggestion to use pwgen -N 1 -s 96 in the docker documentation (or the whole thing should be initialized on first boot with a random seed without user intervention)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment