Beat Metrics to Redis


We have to get the number of events from FileBeat that are generated after read action and save the result in Redis. We used the logging.metrics.enabled configuration but this only output the statistics in FileBeat output or logfile, being necessary read this new file with Filebeat.

How can I send this information to Redis without read a Filebeat output from File?

There's no really better option at the moment. The statistics can also be exported via an http interface if you start filebeat with something like -httpprof :5000 then accessing http://localhost:5000/debug/vars. However, this HTTP endpoint can also be used for enabling Filebeat profiling, so we don't recommend using this method in production.

We do plan to have a way to get these metrics into Elasticsearch.

1 Like

This topic was automatically closed after 21 days. New replies are no longer allowed.