Graylog in Ranhcer Server

(VVP) #1

Hi All,

I am new to Graylog and Rancher server.

I have gone through
for collecting all logs from docker to graylog.
I am using Rancher server(Cattle) for managing docker containers.

  1. 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

  2. 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,

(Jochen) #2

Please post all relevant configuration information.

(VVP) #3

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?

(Jochen) #4

Yes, I want all of them.

(VVP) #5

How do I get them.
Commands please.

(Jochen) #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.

(VVP) #7

Sure. Let me check.
I setup graylog as a container.
I pulled graylog docker image and deployed in rancher
I am accessing graylog on port 9000.
I will dig and try to find logs.

(Jochen) #8

There is a big deprecation notice:

Deprecation notice

This image is deprecated, use graylog/graylog instead.

(VVP) #9

Hi Jochen,

I overlooked the deprecation notice. I was following a tutorial and thought the old versions will still work. :slight_smile:

I installed the new image from and got it working without any issues.
Thank you for your assistance.


(system) closed #10

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.