From 47c5c03210b0a676a810441ef55567bb2b71bf8f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Oct 2022 07:49:39 +0200 Subject: [PATCH] Data directory --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ed302b --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +https://docs.graylog.org/docs/docker + +https://community.graylog.org/t/graylog-container-cannot-connect-to-mongodb-container/5783/2 + +mkdir data/{elasticsearch,journal,mongo} +chmod -R a+w data + +curl -H 'Accept: application/json' 'http://localhost:7555/api/?pretty=true' +curl -u admin:may12002 -H 'Accept: application/json' 'http://localhost:7555/api/system/cluster/stats/mongo?pretty=true' +echo '{"version": "1.1","host":"example.org","short_message":"A short message that helps you identify what is going on","full_message":"Backtrace here\n\nmore stuff","level":1,"_user_id":9001,"_some_info":"foo","_some_env_var":"bar"}' | nc -w 1 localhost 12201 + +echo -e '{"version": "1.1","host":"example.org","short_message":"Short message","full_message":"Backtrace here\n\nmore stuff","level":1,"_user_id":9001,"_some_info":"foo","_some_env_var":"bar"}\0' | nc -w 1 localhost 12201 +