Where are the internal logstash logs when run in a Docker container?

Where are the internal Logstash logs?

Docs state, " Logstash emits internal logs during its operation, which are placed in LS_HOME/logs (or /var/log/logstash for DEB/RPM)." [Ref 1]

When I open a shell into the container, I do not see these logs; they do not exist.

I'm trying to debug some setup errors. How can I grep and view internal logstash logs?

  1. https://www.elastic.co/guide/en/logstash/current/logging.html

It depends on what your log4j2.properties file contains. That would normally be in /etc/logstash.

There is no /etc/logstash directory; neither in the base machine nor the logstash container itself.

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