Docker swarm log services on graylog

(Andre ) #1


I have a server with docker swarm and I need to collect the services logs.
Today it is configured like this:

On the server with docker I created the following file “/etc/docker/daemon.json”, with the following content:
“log-driver”: “syslog”,
“log-opts”: {
“syslog-address”: “udp: // 12201”

The docker logs are arriving in graylog, but I can not filter by service, just by the container id.

Is there another way to do this?
What do I need and exactly do "docker service log " output in graylog

Thank you

(Jochen) #2

Pretty much a duplicate of Monitoring Docker Containers with Graylog Monitoring.

(system) closed #3

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