How do i fetch pod logs using Filebeat


(VivSam) #1

So am trying to have a pipeline with Jenkins job polling git for any code changes then to build the code create image and placing it into artifactory and deploying it to Kubernetes pods via Spinnaker.
My question is how can i fetch the Pod logs using filebeat running it as a container.


(Carlos Pérez Aradros) #2

Hi @Vivek_Samaga,

We just published a blog post on how to use filebeat to ship container logs on Kubernetes:, I think you may find it useful: https://www.elastic.co/blog/shipping-kubernetes-logs-to-elasticsearch-with-filebeat

Best regards


(VivSam) #3

Does it support ES 5.X ?


(Carlos Pérez Aradros) #4

Yes, Filebeat 6.0 should be able to ship logs to ES 5.X


(system) #6

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