# Beats 6.5.4 error while loading dashboard

**URL:** <https://forum.opensearch.org/t/beats-6-5-4-error-while-loading-dashboard/248>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [March 24, 2019, 5:08am UTC](https://forum.opensearch.org/t/beats-6-5-4-error-while-loading-dashboard/248 "2019-03-24T05:08:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharon92](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@sharon92](https://forum.opensearch.org/u/sharon92)\
**Post date:** [March 24, 2019, 5:08am UTC](https://forum.opensearch.org/t/beats-6-5-4-error-while-loading-dashboard/248/1 "2019-03-24T05:08:45Z")

</div>

After setting up the opendistro for elasticsearch stack, I tried to setup beats and push data to elastic search.

when I executed sudo filebeat setup , I got below error,

root@server1:~# sudo filebeat setup  
Loaded index template  
Loading dashboards (Kibana must be running and reachable)  
Loaded dashboards  
Exiting: 2 errors: Error checking if xpack is available: 500 Internal Server Error: {“error”:{“root\_cause”:[{“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”}],“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”},“status”:500}; Error checking if xpack is available: 500 Internal Server Error: {“error”:{“root\_cause”:[{“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”}],“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”},“status”:500}

Also I found below error in elasticsearch node,

odfe-node1 | [2019-03-24T05:01:37,003][ERROR][c.a.o.s.f.OpenDistroSecurityFilter] [gWC\_IgA] Unexpected exception [\_xpack] InvalidIndexNameException[Invalid index name [_xpack], must not start with '_‘.]  
odfe-node1 | org.elasticsearch.indices.InvalidIndexNameException: Invalid index name [_xpack], must not start with '_’.  
odfe-node1 | at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.validateAliasOrIndex(IndexNameExpressionResolver.java:709) ~[elasticsearch-6.5.4.jar:6.5.4]

This is my repo for your reference,

> **[GitHub - sharonsahadevan/opendistro-elk-logspout: Opendistro for...](https://github.com/sharonsahadevan/opendistro-elk-logspout)**
>
> Opendistro for Elasticsearch with logspout . Contribute to sharonsahadevan/opendistro-elk-logspout development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![bipinraut](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@bipinraut](https://forum.opensearch.org/u/bipinraut)\
**Post date:** [April 8, 2019, 9:19am UTC](https://forum.opensearch.org/t/beats-6-5-4-error-while-loading-dashboard/248/2 "2019-04-08T09:19:15Z")

</div>

Hi,  
I am also facing same problem, this is my error, can anyone help ?  
2019-04-08T09:09:08.304Z ERROR instance/beat.go:800 Exiting: 2 errors: Error checking if xpack is available: 500 Internal Server Error: {“error”:{“root\_cause”:[{“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”}],“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”},“status”:500}; Error checking if xpack is available: 500 Internal Server Error: {“error”:{“root\_cause”:[{“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”}],“type”:“security\_exception”,“reason”:“Unexpected exception indices:admin/get”},“status”:500}
