# Installing shield in kibana - getting error for plugin command

**URL:** <https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201>\
**Category:** Kibana\
**Created:** [December 15, 2016, 5:15pm UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201 "2016-12-15T17:15:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rashmy](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@rashmy](https://discuss.elastic.co/u/rashmy)\
**Post date:** [December 15, 2016, 5:15pm UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201/1 "2016-12-15T17:15:10Z")

</div>

I want to implement shield and watcher in my project. When I run the command to install plugin, I am getting error message that plugin command is not supported. What could be the reason. Mine is windows OS.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 15, 2016, 10:48pm UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201/2 "2016-12-15T22:48:36Z")

</div>

What command?  
What error?  
What versions?

---

<div class="post-metadata">

**Author:** ![rashmy](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@rashmy](https://discuss.elastic.co/u/rashmy)\
**Post date:** [December 16, 2016, 9:56am UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201/3 "2016-12-16T09:56:40Z")

</div>

1. First I ran curl -u es\_admin -XPOST "[http://localhost:9200/\_shield/user/rashmy](http://localhost:9200/_shield/user/rashmy)"-d "{"password" : "password", "roles" : ["rashmy"]}"

I got below error

{"error":{"root\_cause":[{"type":"invalid\_index\_name\_exception","reason":"Invalid  
index name [_shield], must not start with '_', '-', or '+'","index\_uuid":"_na_"  
,"index":"\_shield"}],"type":"invalid\_index\_name\_exception","reason":"Invalid ind  
ex name [_shield], must not start with '_', '-', or '+'","index\_uuid":"_na_","in  
dex":"\_shield"},"status":400}curl: (3) [globbing] nested brace in column 31

I am using kibana-5.0.2-windows-x86 version

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 16, 2016, 8:00pm UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201/4 "2016-12-16T20:00:55Z")

</div>

There's no indication that you have installed Shield here.

---

<div class="post-metadata">

**Author:** ![Reuben\_L](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/reuben_l/32/13991_2.png) [@Reuben\_L](https://discuss.elastic.co/u/Reuben_L)\
**Post date:** [December 20, 2016, 12:48am UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201/5 "2016-12-20T00:48:40Z")

</div>

Have you installed x-pack?

---

<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:** [January 17, 2017, 12:48am UTC](https://discuss.elastic.co/t/installing-shield-in-kibana-getting-error-for-plugin-command/69201/6 "2017-01-17T00:48:43Z")

</div>

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