I am working on creating a beat for etcd. I can get the statistics but i have a question for authentication. If password and username are not set, "what should the beat do?"
The beat gave an error message and it didn't send the event but it has continued to work. I look community beats but two methods had been applied
Normally we send an event logging the error, as this may happen even if you configured the beat correctly but the service changed its behavior.
In any case, I would like to encourage you to work on it as a module for Metricbeat, https://www.elastic.co/guide/en/beats/metricbeat/current/creating-metricbeat-module.html and contribute it, we would accept PRs for an etcd module
Also, you can benefit from our HTTP & Prometheus helpers https://github.com/elastic/beats/tree/master/metricbeat/helper. Check https://github.com/elastic/beats/blob/master/metricbeat/module/kubernetes/state_container/state_container.go as an example on how to use it
Thanks for the reply!
I'm also working on a module for metricbeat. The beat is almost done and then i will work for the module.
This topic was automatically closed after 21 days. New replies are no longer allowed.