As said Prometheus is just a fancy wrapper around a TSDB (time-series database). Loki, being developed by Grafana has a sleek integration. You can jump from metric to log file and vice versa inside grafana. Advice you to check it out
On Sun, Jul 12, 2020 at 6:39 PM Stuart Clark <[email protected]> wrote: > On 12/07/2020 15:00, Yashar Nesabian wrote: > > Hi, > some of our applications are generating JSON style logs, for now, we are > using elastic search to store the logs and show them in the Grafana but > this is not a good choice to use elastic search. > I tried to use mtail but as their developers mentioned, "mtail is really > designed > for getting metrics out of unstructured logs" > So are there any other ways to send JSON style logs to the Prometheus? > > > Prometheus is a metrics system. You would normally use it in parallel with > an events system such as Elasticsearch or Loki. > > As you say tools like mtail can be used to create metrics from log files > which can be very useful. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/03f1d087-3905-9123-7037-9b452e235d59%40Jahingo.com > <https://groups.google.com/d/msgid/prometheus-users/03f1d087-3905-9123-7037-9b452e235d59%40Jahingo.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CALnV8WhEY_VkrRqJSJOGULmb%2BprUTOBeiiK5AQQQV5D1D2-_iQ%40mail.gmail.com.

