Re: [prometheus-users] Best way to scrape metrics from a JSON log files

2020-07-13 Thread sayf eddine Hammemi
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 
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 prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/03f1d087-3905-9123-7037-9b452e235d59%40Jahingo.com
> 
> .
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CALnV8WhEY_VkrRqJSJOGULmb%2BprUTOBeiiK5AQQQV5D1D2-_iQ%40mail.gmail.com.


Re: [prometheus-users] Best way to scrape metrics from a JSON log files

2020-07-12 Thread Stuart Clark

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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/03f1d087-3905-9123-7037-9b452e235d59%40Jahingo.com.


[prometheus-users] Best way to scrape metrics from a JSON log files

2020-07-12 Thread Yashar Nesabian
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?

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/226f2eee-cd04-470c-918b-62825977e90do%40googlegroups.com.