Prometheus to syslog streaming

420 views
Skip to first unread message

Jacob Philip

unread,
Jun 18, 2019, 8:37:17 AM6/18/19
to Prometheus Users
Hello,
    I am new to Prometheus, and currently doing a task of researching on whether Prometheus will fit for our product.

 In our case, the metrics will be consumed by GUI and also has to be streamed out using rsyslog. 
 Basically, we want to send the same metrics which are pulled by Prometheus over syslog. Note that I am not taking about rsyslog_exporter (https://github.com/soundcloud/rsyslog_exporter), rather I want the reverse of this.

 Is there are a plugin or a standard way to do this?
 Or do I have to write a daemon which periodically queries Prometheus and do the Syslog streaming?

Regards,
Jacob

Simon Pasquier

unread,
Jun 18, 2019, 8:46:28 AM6/18/19
to Jacob Philip, Prometheus Users
You need to write a remote write adapter [1] that would convert
Prometheus samples to Syslog messages.
[1] https://prometheus.io/docs/prometheus/latest/storage/#remote-storage-integrations
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/226ef119-356d-46fe-9a9b-141360193231%40googlegroups.com.

Jacob Philip

unread,
Jun 18, 2019, 11:37:30 AM6/18/19
to Simon Pasquier, Prometheus Users
Thank You, Simon.
Reply all
Reply to author
Forward
0 new messages