# New Beat authentication settings

**URL:** <https://discuss.elastic.co/t/new-beat-authentication-settings/95540>\
**Category:** Beats\
**Created:** [August 2, 2017, 1:37pm UTC](https://discuss.elastic.co/t/new-beat-authentication-settings/95540 "2017-08-02T13:37:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![berfinsari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/berfinsari/32/33839_2.png) [@berfinsari](https://discuss.elastic.co/u/berfinsari)\
**Post date:** [August 2, 2017, 1:37pm UTC](https://discuss.elastic.co/t/new-beat-authentication-settings/95540/1 "2017-08-02T13:37:39Z")

</div>

hi,  
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

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [August 2, 2017, 2:16pm UTC](https://discuss.elastic.co/t/new-beat-authentication-settings/95540/2 "2017-08-02T14:16:37Z")

</div>

Hi @berfinsari,

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](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](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](https://github.com/elastic/beats/blob/master/metricbeat/module/kubernetes/state_container/state_container.go) as an example on how to use it 🙂

Best regards

---

<div class="post-metadata">

**Author:** ![berfinsari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/berfinsari/32/33839_2.png) [@berfinsari](https://discuss.elastic.co/u/berfinsari)\
**Post date:** [August 2, 2017, 4:02pm UTC](https://discuss.elastic.co/t/new-beat-authentication-settings/95540/3 "2017-08-02T16:02:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 23, 2017, 1:37pm UTC](https://discuss.elastic.co/t/new-beat-authentication-settings/95540/4 "2017-08-23T13:37:51Z")

</div>

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