# Security error in Elasticsearch after X-Pack install

**URL:** https://discuss.elastic.co/t/security-error-in-elasticsearch-after-x-pack-install/98273
**Category:** Elasticsearch
**Created:** [August 24, 2017, 5:43pm UTC](https://discuss.elastic.co/t/security-error-in-elasticsearch-after-x-pack-install/98273 "2017-08-24T17:43:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cdnnhicks](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@cdnnhicks](https://discuss.elastic.co/u/cdnnhicks)
#### Post date: [August 24, 2017, 5:43pm UTC](https://discuss.elastic.co/t/security-error-in-elasticsearch-after-x-pack-install/98273/1 "2017-08-24T17:43:48Z")

</div>

Hi,  
I just set up an ELK version 5.5.2 server that was successfully receiving winlogbeat and syslog messages.

I just installed XPack and now I don't see any of my logs in Kibana. When I try to get my cluster health with "curl -XGET 'localhost:9200/\_xpack/security/user?pretty'", I get an error

""error" : {  
"root\_cause" : [  
{  
"type" : "security\_exception",  
"reason" : "missing authentication token for REST request [/\_xpack/security/user?pretty]",

I've reset the default password for the elastic, kibana and logstash\_system users. I've updated the kibana.yml file with the new kibana password. I've also created a new user called support.

I think this has something to do with the fact that all my requests need to be associated with a user, but I'm not sure how to get that configured. I _think_ I've set everything up properly from the documentation.

Any help would be hot.

---

<div class="post-metadata">

### Author: ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)
#### Post date: [August 25, 2017, 1:38am UTC](https://discuss.elastic.co/t/security-error-in-elasticsearch-after-x-pack-install/98273/2 "2017-08-25T01:38:54Z")

</div>

You need to send basic authentication via `curl` using `-u <username>:<password>`.

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [August 25, 2017, 2:53am UTC](https://discuss.elastic.co/t/security-error-in-elasticsearch-after-x-pack-install/98273/3 "2017-08-25T02:53:36Z")

</div>

kibana need add user add passowrd connect to es cluster in kibana.yml configure file

---

<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: [September 22, 2017, 2:53am UTC](https://discuss.elastic.co/t/security-error-in-elasticsearch-after-x-pack-install/98273/4 "2017-09-22T02:53:38Z")

</div>

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