trustpilot / beat-exporter

Elastic beat-exporter for Prometheus
MIT License
207 stars 68 forks source link

Add support for HTTP via Unix socket transport #30

Closed mback2k closed 4 years ago

mback2k commented 4 years ago

This adds support for accessing the beats via Unix socket transport.

For example filebeat 7.5 supports listening on a local Unix socket:

http.host (Optional) Bind to this hostname, IP address, unix socket (unix:///var/run/filebeat.sock) or Windows named pipe (npipe:///filebeat). It is recommended to use only localhost. Default is localhost

Source: https://www.elastic.co/guide/en/beats/filebeat/7.5/http-endpoint.html