Skip to content

Sample Kotlin/SpringBoot2 application scheduling a periodic log

License

Notifications You must be signed in to change notification settings

mjrgr/loggingtestapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logging test app

A simple kotlin/SpringBoot application that schedules a periodic log. It's provided with a docker-compose environment that deploys an ElasticSearch cluster, Kibana, Filebeat and some other containers for monitoring: portainer and httpbeat. In this environment, scheduled logs are collected by filebeat and sent to the cluster. Health status of the application is collected by httpbeat using SpringBoot health endpoint.

Requirements

  • JDK 8
  • Gradle

To run Elastic env.:

  • Docker
  • Docker Compose

Usage

To start application directly on gradle:

gradle bootRun

To start application with Elastic environment on Docker:

cd ./docker
./docker-containers-start.sh

To destroy application with Elastic environment on Docker:

cd ./docker
./docker-containers-destroy.sh

Releases

No releases published

Packages

No packages published