# Disable Kibana Search Guard plugin

**URL:** <https://forum.search-guard.com/t/disable-kibana-search-guard-plugin/582>\
**Category:** Search Guard\
**Created:** [August 23, 2017, 1:22pm UTC](https://forum.search-guard.com/t/disable-kibana-search-guard-plugin/582 "2017-08-23T13:22:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayseyo](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ayseyo](https://forum.search-guard.com/u/ayseyo)\
**Post date:** [August 23, 2017, 1:22pm UTC](https://forum.search-guard.com/t/disable-kibana-search-guard-plugin/582/1 "2017-08-23T13:22:20Z")

</div>

Search Guard, Elasticsearch, Kibana version : 5.4.3

Hi, is there an option to disable search guard kibana plugin as well?

I want to enable/disable SG kibana plugin to investigate performance issues.

I know there is for SG elasticsearch plugin which can be used as :

`searchguard.disabled: true`

` `

I’ve tried this option at kibana.yml bu I got this error :

FATAL { ValidationError: child “searchguard” fails because [“disabled” is not allowed]  
at Object.exports.process (/usr/share/kibana/node\_modules/joi/lib/errors.js:140:17)  
at internals.Any.\_validateWithOptions (/usr/share/kibana/node\_modules/joi/lib/any.js:649:25)  
at root.validate (/usr/share/kibana/node\_modules/joi/lib/index.js:102:23)  
at Config.\_commit (/usr/share/kibana/src/server/config/config.js:113:35)  
at Config.set (/usr/share/kibana/src/server/config/config.js:84:10)  
at Config.extendSchema (/usr/share/kibana/src/server/config/config.js:57:10)  
at /usr/share/kibana/src/server/plugins/plugin\_collection.js:19:12  
at next (native)  
at step (/usr/share/kibana/src/server/plugins/plugin\_collection.js:49:191)  
at /usr/share/kibana/src/server/plugins/plugin\_collection.js:49:361  
name: ‘ValidationError’,

---

<div class="post-metadata">

**Author:** ![Urs](https://avatars.discourse-cdn.com/v4/letter/u/958977/32.png) [@Urs](https://forum.search-guard.com/u/Urs)\
**Post date:** [August 24, 2017, 7:56am UTC](https://forum.search-guard.com/t/disable-kibana-search-guard-plugin/582/2 "2017-08-24T07:56:57Z")

</div>

Hi,

to disable Search Guard Kibana plugin, you need to set searchguard.basicauth.enabled  
to false in your kibana.yml followed by a restart of Kibana.

Thanks for your question, I hope this answer helps,

regards, Urs.

> **···**
>
> –
> 
> Urs Armbruster
> 
> Community Manager
> 
> floragunn GmbH
> 
> Tempelhofer Ufer 16
> 
> 10963 Berlin
> 
> Amtsgericht Charlottenburg HRB 147010
> 
> USt-IdNr.: DE287373363
> 
> +++ like us on facebook: [https://www.facebook.com/searchguard](https://www.facebook.com/searchguard)
> 
> +++ follow us on twitter: [https://twitter.com/searchguard](https://twitter.com/searchguard)
> 
> On Wednesday, August 23, 2017 at 3:22:21 PM UTC+2, ayseyo wrote:
> 
> > Search Guard, Elasticsearch, Kibana version : 5.4.3
> 
> > 
> 
> > Hi, is there an option to disable search guard kibana plugin as well?
> 
> > I want to enable/disable SG kibana plugin to investigate performance issues.
> 
> > 
> 
> > I know there is for SG elasticsearch plugin which can be used as :
> 
> > `searchguard.disabled: true`
> 
> > ` `
> 
> > I’ve tried this option at kibana.yml bu I got this error :
> 
> > 
> 
> > FATAL { ValidationError: child “searchguard” fails because [“disabled” is not allowed]  
> > at Object.exports.process (/usr/share/kibana/node\_modules/joi/lib/errors.js:140:17)  
> > at internals.Any.\_validateWithOptions (/usr/share/kibana/node\_modules/joi/lib/any.js:649:25)  
> > at root.validate (/usr/share/kibana/node\_modules/joi/lib/index.js:102:23)  
> > at Config.\_commit (/usr/share/kibana/src/server/config/config.js:113:35)  
> > at Config.set (/usr/share/kibana/src/server/config/config.js:84:10)  
> > at Config.extendSchema (/usr/share/kibana/src/server/config/config.js:57:10)  
> > at /usr/share/kibana/src/server/plugins/plugin\_collection.js:19:12  
> > at next (native)  
> > at step (/usr/share/kibana/src/server/plugins/plugin\_collection.js:49:191)  
> > at /usr/share/kibana/src/server/plugins/plugin\_collection.js:49:361  
> > name: ‘ValidationError’,

---

<div class="post-metadata">

**Author:** ![ayseyo](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ayseyo](https://forum.search-guard.com/u/ayseyo)\
**Post date:** [August 24, 2017, 12:16pm UTC](https://forum.search-guard.com/t/disable-kibana-search-guard-plugin/582/3 "2017-08-24T12:16:41Z")

</div>

Thanks, it worked.

24 Ağustos 2017 Perşembe 10:56:57 UTC+3 tarihinde Urs yazdı:

> **···**
>
> > Thanks for your question, I hope this answer helps,
> 
> > regards, Urs.
> 
> > 
> 
> > –
> 
> > 
> 
> > Urs Armbruster
> 
> > Community Manager
> 
> > floragunn GmbH
> 
> > Tempelhofer Ufer 16
> 
> > 10963 Berlin
> 
> > 
> 
> > Amtsgericht Charlottenburg HRB 147010
> 
> > USt-IdNr.: DE287373363
> 
> > 
> 
> > 
> 
> > +++ like us on facebook: [https://www.facebook.com/searchguard](https://www.facebook.com/searchguard)
> 
> > +++ follow us on twitter: [https://twitter.com/searchguard](https://twitter.com/searchguard)
> 
> > > Search Guard, Elasticsearch, Kibana version : 5.4.3
> 
> > >
> 
> > > Hi, is there an option to disable search guard kibana plugin as well?
> 
> > > I want to enable/disable SG kibana plugin to investigate performance issues.
> 
> > >
> 
> > > I know there is for SG elasticsearch plugin which can be used as :
> 
> > > `searchguard.disabled: true`
> 
> > > ` `
> 
> > > I’ve tried this option at kibana.yml bu I got this error :
> 
> > >
> 
> > > FATAL { ValidationError: child “searchguard” fails because [“disabled” is not allowed]  
> > > at Object.exports.process (/usr/share/kibana/node\_modules/joi/lib/errors.js:140:17)  
> > > at internals.Any.\_validateWithOptions (/usr/share/kibana/node\_modules/joi/lib/any.js:649:25)  
> > > at root.validate (/usr/share/kibana/node\_modules/joi/lib/index.js:102:23)  
> > > at Config.\_commit (/usr/share/kibana/src/server/config/config.js:113:35)  
> > > at Config.set (/usr/share/kibana/src/server/config/config.js:84:10)  
> > > at Config.extendSchema (/usr/share/kibana/src/server/config/config.js:57:10)  
> > > at /usr/share/kibana/src/server/plugins/plugin\_collection.js:19:12  
> > > at next (native)  
> > > at step (/usr/share/kibana/src/server/plugins/plugin\_collection.js:49:191)  
> > > at /usr/share/kibana/src/server/plugins/plugin\_collection.js:49:361  
> > > name: ‘ValidationError’,
> 
> > Hi,
> > 
> > to disable Search Guard Kibana plugin, you need to set searchguard.basicauth.enabled  
> > to false in your kibana.yml followed by a restart of Kibana.
> > 
> > On Wednesday, August 23, 2017 at 3:22:21 PM UTC+2, ayseyo wrote:
