Chad Kunsman Posted October 8, 2021 Share Posted October 8, 2021 Is this possible? I sent logs from a couple containers (as a test) to my Splunk instance but now I can't view them normally within the GUI. "Configured logging driver does not support reading" I'd like both to work. Quote Link to comment
Turnspit Posted October 8, 2021 Share Posted October 8, 2021 A little bit off-topic - may I ask how you set up specific Containers to send their logs elsewhere? Quote Link to comment
Chad Kunsman Posted October 8, 2021 Author Share Posted October 8, 2021 5 hours ago, Turnspit said: A little bit off-topic - may I ask how you set up specific Containers to send their logs elsewhere? In 'extra parameters' in the advanced view of a container config: --log-driver syslog --log-opt syslog-address=tcp://192.168.1.200:9997 --log-opt tag={{.Name}} You could use the 'splunk' logging driver but I didn't like the format it was giving me and preferred the traditional syslog format. So I chose that. More info here: https://docs.docker.com/config/containers/logging/configure/ 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.