# GrokDebugger: \[security\_exception\] action \[cluster:admin/ingest/pipeline/simulate\] is unauthorized for user \[kibana\]

**URL:** <https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041>\
**Category:** Kibana\
**Created:** [December 11, 2017, 9:05am UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041 "2017-12-11T09:05:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![land-pack](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/land-pack/32/25467_2.png) [@land-pack](https://discuss.elastic.co/u/land-pack)\
**Post date:** [December 11, 2017, 9:05am UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041/1 "2017-12-11T09:05:06Z")

</div>

I have work with `kibana` + `ElasticSearch` + `Logstash` very well! but when I try to install `x-pack` , I want to run `GrokDebug` to work! I got this error! I didn't find any configuration docs from official website! anyone help?

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [December 11, 2017, 6:18pm UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041/2 "2017-12-11T18:18:39Z")

</div>

It looks like you are signed in to Kibana using the `kibana` user. This is a built-in user that is actually intended for **internal use by the Kibana server**. You most likely want to sign in with a different user, one that you have explicitly created yourself.

When you create this new user, make sure to assign it a role that has the `manage_ingest_pipelines` cluster privilege. Additionally, this new user should also have the built-in `kibana_user` role assigned to it as well.

---

<div class="post-metadata">

**Author:** ![land-pack](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/land-pack/32/25467_2.png) [@land-pack](https://discuss.elastic.co/u/land-pack)\
**Post date:** [December 12, 2017, 2:55am UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041/3 "2017-12-12T02:55:10Z")

</div>

Hey! Thank you for your reply, I have try many way to create my own user, but always failure! I have follow this tutorial [Setting User](https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html) and this [Native realm](https://www.elastic.co/guide/en/x-pack/6.0/native-realm.html#native-settings). I try to create my own account, but got a error like

> landpacks-MacBook-Pro:bg2manager frank$ curl -XPOST 'localhost:9200/\_xpack/security/user/frank?pretty' -H 'Content-Type: application/json' -d'  
> {  
> "password" : "openos",  
> "roles" : ["admin"],  
> "full\_name" : "Frank AK",  
> "email" : "[landpassing@gmail.com](mailto:landpassing@gmail.com)",  
> "metadata" : {  
> "intelligence" : 7  
> }  
> }  
> '  
> {  
> "error" : {  
> "root\_cause" : [  
> {  
> "type" : "security\_exception",  
> "reason" : "missing authentication token for REST request [/\_xpack/security/user/frank?pretty]",  
> "header" : {  
> "WWW-Authenticate" : "Basic realm="security" charset="UTF-8""  
> }  
> }  
> ],  
> "type" : "security\_exception",  
> "reason" : "missing authentication token for REST request [/\_xpack/security/user/frank?pretty]",  
> "header" : {  
> "WWW-Authenticate" : "Basic realm="security" charset="UTF-8""  
> }  
> },  
> "status" : 401  
> }

Can you point me how to create a account on `version 6.x` ELK? Why there are so many way to create a account! Is there default superuser like `mysql`?

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [December 12, 2017, 3:22pm UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041/4 "2017-12-12T15:22:17Z")

</div>

Yes, you might want to start here: [https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html](https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html)

---

<div class="post-metadata">

**Author:** ![land-pack](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/land-pack/32/25467_2.png) [@land-pack](https://discuss.elastic.co/u/land-pack)\
**Post date:** [December 13, 2017, 2:24am UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041/5 "2017-12-13T02:24:00Z")

</div>

I have create a new user by `x-pack/users adduser my-admin ...` and then configuration the kibana with my new user! it's work now! Thank you so much!

---

<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 10, 2018, 2:24am UTC](https://discuss.elastic.co/t/grokdebugger-security-exception-action-cluster-admin-ingest-pipeline-simulate-is-unauthorized-for-user-kibana/111041/6 "2018-01-10T02:24:36Z")

</div>

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