Skip to content

jochenchrist/docker-logging-elasticsearch

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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