Skip to content

jochenchrist/docker-logging-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logging from Docker to Elasticsearch

Demo to show how to setup filebeat as docker container to collect and ship docker logs to Elasticsearch.

How to use

mvn -f ./demo/pom.xml clean package
docker-compose up --build -d
curl localhost:8080

To view the log files in Kibana, open http://localhost:5601, configure an index pattern as filebeat-* and click Discover.

Application Logs

The demo application is a Spring Boot applcation that logs to stdout with the logs encoded as JSON.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published