Demo to show how to setup filebeat as docker container to collect and ship docker logs to Elasticsearch.
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.
The demo application is a Spring Boot applcation that logs to stdout
with the logs encoded as JSON.