In this repository you can find a basic working example of logstash running in a docker container. The service is responsible to read logs from your Spring logs folder and push them to AWS OpenSearch.
- Spring app running in EC2 instance
- Docker engine + docker-compose running in EC2 instance
- OpenSearch domain available on AWS
- Copy repository in you EC2 instance
- Edit docker-compose.yml and logstash.conf for you use case
- Run docker-compose up -d from the root folder of the repo