Issue
i am developing a new project to learn how work microservices in a spring boot app, but i don't know what is the best wey to store and search log becose i think that storing logs in files is a bad solution. I have read about kibana, but i wont to know what is the most common or the best application to store my logs. thanks and sorry for my english is not my native language.
Solution
There are many 3rd party tools, which offer log collection services, which come with an easy integration for a SpringBoot app.
Some of these are ...
- Splunk
- DataDog
- NewRelic
I personally have a good experience with Splunk. It allows you to collect logs and do a lot of useful stuff with them. Think analytics, or dashboard creation. Here's an example how to integrate Splunk with your SpringBoot app.
Sure, you can go for Kibana and the ELK stack, but you'd need to either configure and run it yourself or get it from a 3rd party provider like AWS. This, according to my expectations, would take you 2-3 times the time as with using Splunk, for example.
Answered By - Arthur Klezovich