Adding Generic Docker Container Logs to Unified Logging
Warning:
Local installations of Flow Production Tracking are no longer offered. This documentation is intended only for those with existing instances of Flow Production Tracking Enterprise Docker. Click here for a list of our current offerings.
You can add any docker container logs to your ELK simply by adding Fluentd logging driver to the container in the docker-compose file.
logging:
driver: "fluentd"
options:
fluentd-address: "<fluentd_hostname>:24224"
tag: "<tag>"
By default, fluentd is on the same host so the fluentd_hostname is localhost. Also, the tag is not mandatory.