Fetch application logs running on kubernetes using filebeat

I am trying to find proper solution but haven't got any.
My java application is running on kubernetes and creating logs inside the pod.
I have to fetch those logs from filebeat to elasticsearch (running on the server).
Please suggest that how we can fetch those application logs using filebeat, which are being created inside pods or any alternative to get those logs outside.

Perhaps start with these two documents and video

https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html

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