Source - https://github.com/gnokoheat/elk-with-filebeat-by-docker-compose
- logs -> filebeat -> elasticsearch <- kibana
- Clone Repo
- Change logs dir in docker-compose file to app logs dir (or make link)
- Run
docker-compose up
-
Go to kibana http://localhost:5601/app/management/kibana/indexPatterns
-
Add
app-logs-*
index pattern -
Explore your logs!
If something went wrong - clear all setup with
docker-compose down
docker-compose rm -v