Skip to content

docker-compose logs handler using EFK (elasticsearch, fluentd and kibana) with a reverse proxy of nginx to authenticate the kibana requests

Notifications You must be signed in to change notification settings

pedromazala/docker-compose-efk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-efk

This project handle a orchestration of a log centralization using Elaticsearch to persist data, Fluentd as data collection and Kibana to interact with the logs and Nginx to be the reverse proxy.

By default, Kibana does not perform an authentication. To deal with this limitation we put a reverse proxy using nginx with auth_basic_user_file option to handle the authentication. The file nginx/passwords/.httpasswd contains the default login and password (admin/admin). If you want to change this, you can access this website whom allows you to generate your own login and password. Feel free to handle your logs.

Usage

You just have to run docker-compose up -d to orchestrate the project. Nginx is using the port 5601 of host to receive connections. Feel free to change this if you want to (line 6 of docker-compose.yaml).

What can I do with this?

Everything you want. :)

But log output of docker containers, log php requests, log {anything goes here}. In this link you can find all datasources plugins to fluentd.

But you did not talk about {anything goes here}

Fell free to ask me anything here

Contributing

Please help me :)

About

docker-compose logs handler using EFK (elasticsearch, fluentd and kibana) with a reverse proxy of nginx to authenticate the kibana requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages