talbehat
(shubham jain)
October 23, 2023, 6:09am
1
I have multiple docker containers in host.
For example :-
tomcat process docker container,
elasticsearch process docker container,
postgresql process docker container.
And Logstash are running in seperate docker container in same host.
How logstash will read logs from containers and use logstash-input-file plugins.
i am using logstash version 7.4.3 and facing same issue with multiple docker container
HI @talbehat ,
I am not sure you getting any specific error, But you can simply specify the container log path
path => "/var/lib/docker/*"
Also you can do same thing with Filebeat and Elastic Agent
Application Logs
If you want to ship application logs, Just mount the volume with your logstash and other containers.
system
(system)
Closed
November 22, 2023, 10:14am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.