An open API service indexing awesome lists of open source software.

https://github.com/vitorvezani/springboot-logs-to-elk-sample

Demo of a Spring Boot logs to ELK stack
https://github.com/vitorvezani/springboot-logs-to-elk-sample

elasticsearch elk elk-stack logging logs logstash spring-boot springboot

Last synced: 2 months ago
JSON representation

Demo of a Spring Boot logs to ELK stack

Awesome Lists containing this project

README

          

# Springboot Logs To ELK Sample

This project is a simple tutorial on how to process SpringBoot logs to ELK stack

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

What things you need to install the software and how to install them

```
Java 8
Docker & Docker Compose
Maven 3
```

### Installing

A step by step series of examples that tell you how to get a development env running

```
docker-compose up -d
mvn clean package && java -jar ./target/*.jar
```

To see the logs visit [Kibana](http://localhost:5601) and configure index patterns

Check the logs in the Discover tab

![Logs](https://i.imgur.com/ZL2gXjX.png)

## Running the tests

```
mvn clean test
```

## Deployment

Add additional notes about how to deploy this on a live system

## Built With

* [Spring](http://www.http://spring.io) - The web framework used
* [Maven](https://maven.apache.org/) - Dependency Management
* [ELK](https://www.elastic.co/elk-stack) - ELK Stack

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/vitorvezani/springboot-logs-to-elk/tags).

## Authors

* **Vitor Vezani** - *Initial work* - [github](https://github.com/vitorvezani)

See also the list of [contributors](https://github.com/vitorvezani/springboot-logs-to-elk/contributors) who participated in this project.

## License

This project is licensed under the cd ta - see the [LICENSE.md](LICENSE.md) file for details