Skip to content

walterwootz/spring-logstash-aws-opensearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Logstash configuration to push Spring logs to AWS OpenSearch

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.

Logstash push Spring logs to AWS OpenSearch

Requirements for EC2 instance

  • Spring app running in EC2 instance
  • Docker engine + docker-compose running in EC2 instance
  • OpenSearch domain available on AWS

Steps

  • 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

About

Logstash configuration to push Spring logs to AWS OpenSearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published