Hi All,
I am new to Graylog and Rancher server.
I have gone through https://www.graylog.org/blog/28-centralized-docker-container-logging-with-native-graylog-integration
for collecting all logs from docker to graylog.
I am using Rancher server(Cattle) for managing docker containers.
I have deployed graylog container on a host in port 9000.
2)I created a GELF-UDP input in graylog server listening on port 5000
Next I created a container in Rancher server with log driver gelf and log options as shown in below image.
However after creating container, I am not seeing any logs to graylog.
Am I missing anything. Kindly let me know.
Thanks in advance,
Vishnu
jochen
(Jochen)
August 23, 2017, 6:43am
2
Please post all relevant configuration information.
Hi @jochen ,
This is the input I created in graylog.
I am new to graylog and hence can you clarify whether do you want logs or any result from command execution?
How do I get them.
Commands please.
jochen
(Jochen)
August 23, 2017, 8:47am
6
I don’t know how you’ve set up Graylog in the first place and I’m not familiar with Rancher, so you’ll have to find these things yourself.
Sure. Let me check.
I setup graylog as a container.
I pulled graylog docker image and deployed in rancher https://hub.docker.com/r/graylog2/allinone/
I am accessing graylog on port 9000.
I will dig and try to find logs.
jochen
(Jochen)
August 23, 2017, 10:27am
8
There is a big deprecation notice:
Deprecation notice
This image is deprecated, use graylog/graylog instead.
1 Like
Hi Jochen,
I overlooked the deprecation notice. I was following a tutorial and thought the old versions will still work.
I installed the new image from https://hub.docker.com/r/graylog/graylog/ and got it working without any issues.
Thank you for your assistance.
Thanks,
Vishnu
system
(system)
Closed
September 7, 2017, 2:53am
10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.