Skip to content

blackstorm/docker-compose-efk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose file for setting up a EFK service

A basic docker compose file that will set up Elasticsearch, Fluentd, and Kibana.

Example

The file example/httpd.yml shows how to configure a service to use EFK as its logging facility. To test using this file, just run:

docker-compose -f docker-compose.yml -f example/httpd.yml up

Then, go to your browser and access http://localhost:80 (httpd) and http://localhost:5601 (kibana). You should be able to see the httpd's logs in kibana's discovery tab. By the way, if you are wondering what is this index kibana asks the fist time you access it, it is fluentd-*.

After you are done, just run:

docker-compose -f docker-compose.yml -f example/httpd.yml rm -f

And all services will be reclaimed.

About

Collect Container Logs with EFK (Elasticsearch + Fluentd + Kibana) via Docker Fluentd Logging Driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%