Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

This project shows how to use logback-ecs-encoder for elastic stack logging

I'm using The Spotify Maven Docker plugin to buid and deploy docker images

1. BUILD THE PROJECT

To build docker image of this project run the following commands:

mvn package
mvn dockerfile:build

2. RUN THE CONTAINER OF THE PROJECT

docker run -p 8080:8080 ozay/ecs-logging:0.0.1-SNAPSHOT

3. CHECK THE LOG FILES

docker ps 

docker exec -it c4a39a346bcb ash
cd var/log/ecs-sample-service

you will see two log files ecs-sample-service.json and _ecs-sample-service.log_with the following content:

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages