I have Docker containers deployed under Kubernetes. I need to capture the Docker logs which are sent to its console, and I would like to avoid dumping those logs in a file for each container.
What is the best way to capture those logs for Logstash? Is the TCP plugin suitable for this or is there a better recommendation?