I’ve deployed my graylog instance:
$ docker container list
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
90db8f4d0136 graylog/graylog:4.0 "/usr/bin/tini -- wa…" 3 hours ago Up 3 hours (healthy) 0.0.0.0:1514->1514/tcp, 0.0.0.0:9000->9000/tcp, 0.0.0.0:1514->1514/udp, 0.0.0.0:12201->12201/tcp, 0.0.0.0:12201->12201/udp load-testing_graylog_1
fe5e194a0a23 mongo:4.2 "docker-entrypoint.s…" 3 hours ago Up 3 hours 27017/tcp load-testing_mongo_1
92a29f79f9b4 docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 "/tini -- /usr/local…" 3 hours ago Up 3 hours 9200/tcp, 9300/tcp load-testing_elasticsearch_1
As you can see, it’s listening at:
0.0.0.0:1514->1514/tcp, 0.0.0.0:9000->9000/tcp, 0.0.0.0:1514->1514/udp, 0.0.0.0:12201->12201/tcp, 0.0.0.0:12201->12201/udp
I’ve also tested it using:
curl -i -X POST -H 'Content-Type: application/json' -d '{ "version": "1.1", "host": "example.org", "short_message": "A short message", "level": 5, "_some_info": "foo" }' 'http://localhost:12201/gelf'
HTTP/1.1 202 Accepted
content-length: 0
connection: keep-alive
As you can see, I’m receiving an `HTTP/1.1 202 Accepted``.
Nevertheless, I d’ont quite figure out why I’m not able to see logs I’ve sent.
Any ideas?