# Metricbeat authentication problem with kibana

**URL:** <https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898>\
**Category:** Kibana\
**Created:** [January 17, 2018, 2:41pm UTC](https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898 "2018-01-17T14:41:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijazadm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ijazadm/32/26662_2.png) [@ijazadm](https://discuss.elastic.co/u/ijazadm)\
**Post date:** [January 17, 2018, 2:41pm UTC](https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898/1 "2018-01-17T14:41:18Z")

</div>

hi

i have installed 6.1.1 versions of both elastic and kibana and configured the client with metricbeat , i can see the data is comming and index is create , i can curl it with username nad password , everything is fine , but when i try to open kibana , and after i logged in , then i click on the discover tab , there pop up an authentication error ,

rror: [object Object]: [security\_exception] missing authentication token for REST request [/metricbeat-_/\_field\_caps?fields=_&ignore\_unavailable=true&allow\_no\_indices=false], with { header={ WWW-Authenticate="Basic realm="security" charset="UTF-8"" } }  
request/\<@[http://10.3.10.44:5601/bundles/kibana.bundle.js?v=16350:61:632371](http://10.3.10.44:5601/bundles/kibana.bundle.js?v=16350:61:632371)  
processQueue@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:132456](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:132456)  
scheduleProcessQueue/\<@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:133349](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:133349)  
$digest@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:144239](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:144239)  
$apply@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:147007](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:147007)  
done@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:100015](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:100015)  
completeRequest@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:104697](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:104697)  
createHttpBackend/\</xhr.onload@[http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:105435](http://10.3.10.44:5601/bundles/commons.bundle.js?v=16350:29:105435)

why there is no error while using curl?

---

<div class="post-metadata">

**Author:** ![ijazadm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ijazadm/32/26662_2.png) [@ijazadm](https://discuss.elastic.co/u/ijazadm)\
**Post date:** [January 17, 2018, 3:27pm UTC](https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898/4 "2018-01-17T15:27:25Z")

</div>

turns out that its not specfic to metricbeat , the error now shows on other indices as well.

[object Object]: [security\_exception] missing authentication token for REST request [/.monitoring-alerts-6/\_field\_caps?fields=\*&ignore\_unavailable=true&allow\_no\_indices=false], with { header={ WWW-Authenticate="Basic …

---

<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:** [January 17, 2018, 5:40pm UTC](https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898/5 "2018-01-17T17:40:31Z")

</div>

Hi @ijazadm, this is probably an error in kibana configuration, have a look to [https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html](https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html).

I'm moving this topic to Kibana

---

<div class="post-metadata">

**Author:** ![ijazadm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ijazadm/32/26662_2.png) [@ijazadm](https://discuss.elastic.co/u/ijazadm)\
**Post date:** [January 19, 2018, 2:45pm UTC](https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898/6 "2018-01-19T14:45:03Z")

</div>

Hi ,

Thanks.

Fixed.

---

<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:** [February 16, 2018, 2:45pm UTC](https://discuss.elastic.co/t/metricbeat-authentication-problem-with-kibana/115898/7 "2018-02-16T14:45:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
