I want to setup a graylog server in localhost and used docker for this.
I followed the steps as in this link : http://docs.graylog.org/en/2.2/pages/installation/docker.html
Here is the series of command that I ran in terminal :
$docker run --name some-mongo -d mongo:3
$docker run --name some-elasticsearch -d elasticsearch:2 elasticsearch -Des.cluster.name=“graylog”
$docker run --link some-mongo:mongo --link some-elasticsearch:elasticsearch -p 9000:9000 -e GRAYLOG_WEB_ENDPOINT_URI=“http://127.0.0.1:9000/api” -d graylog2/server
Then I configured my graylog server at localhost:9000 to take in tcp syslogs by adding an input that listens to 127.0.0.1 and port 1514, I also added this line to my rsyslog.d/50-default.conf input by adding:
Then I did:
$ service restart rsyslog
But graylog server doesnt shows any message logs whatsoever. Please help. I am not able to figure out what is the problem and I am fairly new to this one, I even posted the question in stack overflow but couldnt get any answers, have been trying for days… Please HELP !!