Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trustpilot/beat-exporter
Elastic beat-exporter for Prometheus
https://github.com/trustpilot/beat-exporter
filebeat metricbeat prometheus-exporter public
Last synced: about 2 months ago
JSON representation
Elastic beat-exporter for Prometheus
- Host: GitHub
- URL: https://github.com/trustpilot/beat-exporter
- Owner: trustpilot
- License: mit
- Created: 2018-09-07T11:41:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-30T13:59:02.000Z (about 1 year ago)
- Last Synced: 2024-08-02T15:19:01.111Z (5 months ago)
- Topics: filebeat, metricbeat, prometheus-exporter, public
- Language: Go
- Homepage:
- Size: 57.6 KB
- Stars: 203
- Watchers: 57
- Forks: 63
- Open Issues: 17
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# beat-exporter for Prometheus ![](https://github.com/trustpilot/beat-exporter/workflows/test-and-build/badge.svg)
[![Docker Pulls](https://img.shields.io/docker/pulls/trustpilot/beat-exporter.svg?maxAge=604800)](https://hub.docker.com/r/trustpilot/beat-exporter/)
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