beat-exporter

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2019 License: MIT Imports: 14 Imported by: 0

README

beat-exporter for Prometheus Build Status

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.timeout duration
        Timeout for trying to get stats from beat. (default 10s)
  -beat.uri string
        HTTP API address of beat. (default "http://localhost:5066")
  -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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL