Hi,
I have a java application running on Docker. It is writing logs that Filebeat would be reading. The Filebeat is also running on Docker.
So what I understand is that we need to create a shared volume where Java application will put its logs and Filebeat will read it from the shared volume.
Is my understanding correct?
Also, if yes, then I just need to create a shared volume and in my docker compose file, I need to give the path for both Filebeat and for Java application.
My another question is, with this shared volume it will be understood that Java application will write the logs and Filebeat will read them, right? We need not mention it explicitly.
Regards
Neha Jain