https://github.com/csalih/spring-boot-elk
Example of Spring Boot and ELK
https://github.com/csalih/spring-boot-elk
Last synced: about 1 year ago
JSON representation
Example of Spring Boot and ELK
- Host: GitHub
- URL: https://github.com/csalih/spring-boot-elk
- Owner: CSalih
- Created: 2020-11-27T22:30:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-28T14:39:08.000Z (over 5 years ago)
- Last Synced: 2025-01-18T10:44:57.686Z (over 1 year ago)
- Language: Java
- Size: 81.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot with ELK
Example with Spring Boot to log into Logstash.
## Setup
Start your ELK Stack, this example will send the log file via TCP (Port 5000)
to Logstash. You can also https://github.com/CSalih/elk-docker-stack witch is
preconfigured for this example.
```bash
$ ./gradlew bootRun
```
Send a GET Request to `http://localhost:8080/log/{message}`.
Now you can go to the [Kibana UI](http://localhost:5601) and configure an index for
`logback-tcp-*`. You can Visualize your logs for more read the documentation of Kibana.