Skip to content

Simple EFK (ElasticSearch, FluentBit, Kibana) stack for Kubernetes. Collect K8S logs in AWS EKS

Notifications You must be signed in to change notification settings

arkady-emelyanov/k8s-logging-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple K8S log collection

  • FluentBit v0.13
  • Kibana v6.4.3
  • ElasticSearch v6.4.3
  • Curator v5.5.4

After deploy, stdout from all Kubernetes pods will end up in ElasticSearch index logstash-%Y.%m.%d.

Don't forget to create Kibana "Index Mapping", this example didn't provide any

Following index fields will be available:

  • namespace - pod namespace
  • deployment - deployment, pod belongs to
  • pod - pod name
  • message - log line

Following ingress-controller entry will be created:

  • kibana.example.com

While fluentbit configuration is stable and has been used in production for a while, elasticsearch, kibana and curator deployments provided as an example, just to demonstrate how things should be composed together.

Additional note: having Logstash in front of ElasticSearch, will allow perform more granular routing, e.g. different indexes for a namespaces, deployments or even a pods.

Sample helm commands are provided in Makefile

License

WTFPL

About

Simple EFK (ElasticSearch, FluentBit, Kibana) stack for Kubernetes. Collect K8S logs in AWS EKS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published