Home > database >  how to ship logs files from my springboot pod running on EKS to ELK
how to ship logs files from my springboot pod running on EKS to ELK

Time:10-15

I am running my pods on EKS cluster. The containers are based on Spring boot application. How to ship the logs files from spring boot application using filebeats to Elasticsearch on AWS? I do not see any article on this.

CodePudding user response:

If your application logs everything to stdout, the idea is to install Filebeat as a Daemonset on the EKS cluster, so a pod on every node.
Then configure Filebeat mounting the docker folder, so it can read the logs and send the data to ElasticSearch (or Logstash).

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

  • Related