Skip to content

Sample central logging setup (Fluentd, Elasticsearc, Kibana) using Docker's Fluentd Driver

Notifications You must be signed in to change notification settings

vsarris/efk-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose file for setting up an EFK cluster

Basic docker compose setup that will serve Fluentd, Elasticsearch and Kibana alongside with an example httpd service sending logs to the fluentd. Fluentd (check fluentd/conf) gathers all logs from tcp socket input through docker logging driver, sends them to elasticsearch and kibana can visualize everything.

You can use this setup alongside with other docker containers or applications to gather all logs as a unified logging service.

Example run

Run with docker-compose -f docker-compose.yml up

You can access the httpd example at http://localhost. This will create apache access logs. You can then visit kibana @ http://localhost:5601, set up a wildcard index for fluentd as fluentd-* and you can explore/filter all logs.

Feel free to edit current configuration for memory usage in Elasticsearch, exposed ports, volumes etc.

Using elasticsearch,kibana v6.4.2 and fluentd v1.2

About

Sample central logging setup (Fluentd, Elasticsearc, Kibana) using Docker's Fluentd Driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published