D
D
Dima_E2022-03-23 20:48:05
Journaling
Dima_E, 2022-03-23 20:48:05

What is better to use for logging?

Whether there are what means for record and search in broad gulls?
I use sql, well, you can shove it into the database, it seems that there is a possibility of searching and structuring, but it seems to me that this is something not right. The option of recording in txt is straight in general, it seems to me.
Are there programs that were created to save a large number of logs and have a search functionality in them

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2022-03-23
@vabka

Well, of the free systems that can be deployed on your servers, there are two options:
1. ELK
2. Grafana + Loki
You can look at how to set them up on Habré. Personally, I am more in favor of the second option, because Grafana + Loki require much less server resources, both for storage and for searching through the logs, and the UI is not so terribly slow.
You can also bike something yourself, on top of some timeseries base.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question