# Unable to check Elasticsearch cluster health w/shield plugin installed

**URL:** <https://discuss.elastic.co/t/unable-to-check-elasticsearch-cluster-health-w-shield-plugin-installed/36686>\
**Category:** Elasticsearch\
**Created:** [December 9, 2015, 2:25am UTC](https://discuss.elastic.co/t/unable-to-check-elasticsearch-cluster-health-w-shield-plugin-installed/36686 "2015-12-09T02:25:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaufusihm](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Kaufusihm](https://discuss.elastic.co/u/Kaufusihm)\
**Post date:** [December 9, 2015, 2:25am UTC](https://discuss.elastic.co/t/unable-to-check-elasticsearch-cluster-health-w-shield-plugin-installed/36686/1 "2015-12-09T02:25:22Z")

</div>

Now that I have elasticsearch plugin installed, how do I check my elasticsearch cluster healther/indices/any curl command?

How do I run curl ':9200/\_cat/indices?v' when I have shield plugin?

I get the following message:

root@elasticVM:~# curl 'elastic\_ip.40:9200/\_cat/indices?v'  
{"error":{"root\_cause":[{"type":"security\_exception","reason":"missing authentication token for REST request [/\_cat/indices?v]","header":{"WWW-Authenticate":"Basic realm="shield""}}],"type":"security\_exception","reason":"missing authentication token for REST request [/\_cat/indices?v]","header":{"WWW-Authenticate":"Basic realm="shield""}},"status":401}

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 9, 2015, 6:37am UTC](https://discuss.elastic.co/t/unable-to-check-elasticsearch-cluster-health-w-shield-plugin-installed/36686/2 "2015-12-09T06:37:48Z")

</div>

You need to provide your username and password

---

<div class="post-metadata">

**Author:** ![bhellsun](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@bhellsun](https://discuss.elastic.co/u/bhellsun)\
**Post date:** [February 27, 2016, 4:01pm UTC](https://discuss.elastic.co/t/unable-to-check-elasticsearch-cluster-health-w-shield-plugin-installed/36686/3 "2016-02-27T16:01:06Z")

</div>

> [@Kaufusihm](#):
>
> curl 'elastic\_ip.40:9200/\_cat/indices?v'

you have to give the command like this

"curl 'elastic\_ip.40:9200/\_cat/indices?v' -u username/password"  
which worked for me

---

<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:** [July 5, 2017, 11:13pm UTC](https://discuss.elastic.co/t/unable-to-check-elasticsearch-cluster-health-w-shield-plugin-installed/36686/4 "2017-07-05T23:13:07Z")

</div>


