Docker Syslog log driver
Last updated
Was this helpful?
Last updated
Was this helpful?
Using the docker syslog driver to send logs to Apica Ascent is quite simple. Details about the docker syslog driver can be found here
Apica Ascent supports both TLS and non TLS syslog ports using TCP.
Following fields are required options to be passed to the logdriver
tag
- User a human-readable string for better readability otherwise the first 12 chars of the container id will be used
syslog-format=rfc3164
syslog-address
syslog-tls-cert
syslog-tls-key
syslog-tls-ca-cert
syslog-tls-skip-verify
Sending data from docker to Apica Ascent using TCP and non TLS port can be done as below. In the example below, we are going to run a mysql container and have all logs go to Apica Ascent server hosted at logiqserver-devtest.example.com
When using to connect to Apica Ascent TLS port in a secured setup, pass the client certificates to connect to the server