Need help with beat-exporter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

trustpilot
162 Stars 42 Forks MIT License 58 Commits 11 Opened issues

Description

Elastic beat-exporter for Prometheus

Services available

!
?

Need anything else?

Contributors list

beat-exporter for Prometheus

Docker Pulls

Exposes (file|metric)beat statistics from beats statistics endpoint to prometheus format, automaticly configuring collectors for apporiate beat type.

Current coverage

  • filebeat
  • metricbeat
  • packetbeat - partial
  • auditbeat - partial

Setup

Edit your *beat configuration and add following:

http:
  enabled: true
  host: localhost
  port: 5066

This will expose

(file|metrics|*)beat
http endpoint at given port.

Run beat-exporter:

$ ./beat-exporter

beat-exported default port for prometheus is:

9479

Point your Prometheus to

0.0.0.0:9479/metrics

Configuration reference

$ ./beat-exporter -help
Usage of ./beat-exporter:
  -beat.system
        Expose system stats
  -beat.timeout duration
        Timeout for trying to get stats from beat. (default 10s)
  -beat.uri string
        HTTP API address of beat. (default "http://localhost:5066")
  -tls.certfile string
        TLS certs file if you want to use tls instead of http
  -tls.keyfile string
        TLS key file if you want to use tls instead of http
  -version
        Show version and exit
  -web.listen-address string
        Address to listen on for web interface and telemetry. (default ":9479")
  -web.telemetry-path string
        Path under which to expose metrics. (default "/metrics")

Contribution

Please use pull requests, issues

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.