# searchguard kibana user not working

**URL:** <https://forum.search-guard.com/t/searchguard-kibana-user-not-working/1265>\
**Category:** Search Guard\
**Created:** [January 2, 2019, 12:05pm UTC](https://forum.search-guard.com/t/searchguard-kibana-user-not-working/1265 "2019-01-02T12:05:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serendo](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Serendo](https://forum.search-guard.com/u/Serendo)\
**Post date:** [January 2, 2019, 12:05pm UTC](https://forum.search-guard.com/t/searchguard-kibana-user-not-working/1265/1 "2019-01-02T12:05:38Z")

</div>

When asking questions, please provide the following information:

- Search Guard and Elasticsearch version

6.5.4

- Installed and used enterprise modules, if any

using demoinstallation

- JVM version and operating system version

1.8

- Search Guard configuration files

demo config

- Elasticsearch log messages on debug level

no warning or errors

- Other installed Elasticsearch or Kibana plugins, if any

no

After creating a new user and logged in, It still shows that i’m the admin user

---

<div class="post-metadata">

**Author:** ![searchguard\_google\_group](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/searchguard_google_group/32/462_2.png) [@searchguard\_google\_group](https://forum.search-guard.com/u/searchguard_google_group)\
**Post date:** [January 3, 2019, 10:06am UTC](https://forum.search-guard.com/t/searchguard-kibana-user-not-working/1265/2 "2019-01-03T10:06:47Z")

</div>

can you file an issue in github?

> **···**
>
> On Wednesday, 2 January 2019 13:05:39 UTC+1, Serendo wrote:
> 
> > When asking questions, please provide the following information:
> 
> > - Search Guard and Elasticsearch version
> 
> > 6.5.4
> 
> > - Installed and used enterprise modules, if any
> 
> > using demoinstallation
> 
> > - JVM version and operating system version
> 
> > 1.8
> 
> > - Search Guard configuration files
> 
> > demo config
> 
> > - Elasticsearch log messages on debug level
> 
> > no warning or errors
> 
> > - Other installed Elasticsearch or Kibana plugins, if any
> 
> > no
> 
> > 
> 
> > 
> 
> > After creating a new user and logged in, It still shows that i’m the admin user
> 
> > 
> 
> >

---

<div class="post-metadata">

**Author:** ![marc.zominy](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@marc.zominy](https://forum.search-guard.com/u/marc.zominy)\
**Post date:** [January 3, 2019, 10:12am UTC](https://forum.search-guard.com/t/searchguard-kibana-user-not-working/1265/3 "2019-01-03T10:12:02Z")

</div>

Also, if I may, check that you have ‘spaces’ disabled in Kibana, we had similar issues with it enabled.

> **···**
>
> On Wednesday, January 2, 2019 at 1:05:39 PM UTC+1, Serendo wrote:
> 
> > When asking questions, please provide the following information:
> 
> > - Search Guard and Elasticsearch version
> 
> > 6.5.4
> 
> > - Installed and used enterprise modules, if any
> 
> > using demoinstallation
> 
> > - JVM version and operating system version
> 
> > 1.8
> 
> > - Search Guard configuration files
> 
> > demo config
> 
> > - Elasticsearch log messages on debug level
> 
> > no warning or errors
> 
> > - Other installed Elasticsearch or Kibana plugins, if any
> 
> > no
> 
> > 
> 
> > 
> 
> > After creating a new user and logged in, It still shows that i’m the admin user
> 
> > 
> 
> >

---

<div class="post-metadata">

**Author:** ![Serendo](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Serendo](https://forum.search-guard.com/u/Serendo)\
**Post date:** [January 14, 2019, 8:18am UTC](https://forum.search-guard.com/t/searchguard-kibana-user-not-working/1265/4 "2019-01-14T08:18:47Z")

</div>

I solved the problem. The first time I started the cluster, I didn’t disable the xpack security and entered the admin password at the basic auth prompt.  
And after I disabled the xpack security, I think kibana is still using that admin credential to communicate with elasticsearch. After I changed the admin

password, searchguard works like a charm.

在 2019年1月3日星期四 UTC+8下午6:12:03，marc…@hoomano.com写道：

> **···**
>
> > Also, if I may, check that you have ‘spaces’ disabled in Kibana, we had similar issues with it enabled.
> > 
> > On Wednesday, January 2, 2019 at 1:05:39 PM UTC+1, Serendo wrote:
> > 
> > > When asking questions, please provide the following information:
> 
> > > - Search Guard and Elasticsearch version
> 
> > > 6.5.4
> 
> > > - Installed and used enterprise modules, if any
> 
> > > using demoinstallation
> 
> > > - JVM version and operating system version
> 
> > > 1.8
> 
> > > - Search Guard configuration files
> 
> > > demo config
> 
> > > - Elasticsearch log messages on debug level
> 
> > > no warning or errors
> 
> > > - Other installed Elasticsearch or Kibana plugins, if any
> 
> > > no
> 
> > >
> 
> > >
> 
> > > After creating a new user and logged in, It still shows that i’m the admin user
> 
> > >
> 
> > >
