Skip to content
Snippets Groups Projects
Select Git revision
  • 1f526f058b80df12a00cd66a00c69cf793dc9afb
  • master default protected
  • lintian-fixes
3 results

rsyslog-exporter

Forked from ai3 / thirdparty / rsyslog-exporter
112 commits behind the upstream repository.
user avatar
Brian Knox authored
1f526f05
History

rsyslog_exporter Build Status

A prometheus exporter for rsyslog. It accepts rsyslog impstats metrics in JSON format over stdin via the rsyslog omprog plugin and transforms and exposes them for consumption by Prometheus.

Rsyslog Configuration

Configure rsyslog to push JSON formatted stats via omprog:

module(
  load="impstats"
  interval="10"
  format="json"
  resetCounters="off"
  ruleset="process_stats"
)

ruleset(name="process_stats") {
  action(
    type="omprog"
    name="to_exporter"
    binary="/usr/local/bin/rsyslog_exporter"
  )
}