# Kibana plugin cookie names

**URL:** <https://forum.search-guard.com/t/kibana-plugin-cookie-names/1728>\
**Category:** Search Guard\
**Created:** [January 6, 2020, 2:38pm UTC](https://forum.search-guard.com/t/kibana-plugin-cookie-names/1728 "2020-01-06T14:38:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@mikew](https://forum.search-guard.com/u/mikew)\
**Post date:** [January 6, 2020, 2:38pm UTC](https://forum.search-guard.com/t/kibana-plugin-cookie-names/1728/1 "2020-01-06T14:38:45Z")

</div>

(This is really a continuation of [https://forum.search-guard.com/t/multiple-kibana-instances-invalid-cookie-value-and-searchguard-storage-cookie/](https://forum.search-guard.com/t/multiple-kibana-instances-invalid-cookie-value-and-searchguard-storage-cookie/) but unlike @mike I can’t post in threads which are closed.)

> With the new version of the plugin it’s now possible to configure the name of all used cookies.

I was thinking you meant only the very latest version, which seems to be v38 which only works with Elasticsearch 7 and which would be no use to me yet as we’re still using Elasticsearch 6. But the change log for the Kibana plugin in the latest version of Search Guard which works with Elasticsearch 6

> **[Search Guard Documentation 404](https://docs.search-guard.com/6.x-25/changelog-kibana-6.x-19)**
>
> Seems like the page you are looking for does not exist. We deeply and humbly apologize.

says

> Configurable cookie names #PR 306

So that that led to me to look at the PR, then grep the contents of `/usr/share/kibana/plugins/searchguard` on a Kibana node and find that the code to enable configuration of the cookie names appears to be there. So apparently this functionality has been added in 6.x-25. But the documentation at [HTTP Basic Authentication | Elasticsearch Security | Search Guard](https://docs.search-guard.com/6.x-25/kibana-authentication-http-basic) still only lists one option for configuring cookie names, `searchguard.cookie.name`.

So is configuring all three cookie names officially supported in 6.x-25? I’m wary of using configuration options that are not mentioned in the documentation.

---

<div class="post-metadata">

**Author:** ![Mike](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/mike/32/458_2.png) [@Mike](https://forum.search-guard.com/u/Mike)\
**Post date:** [January 7, 2020, 4:30pm UTC](https://forum.search-guard.com/t/kibana-plugin-cookie-names/1728/2 "2020-01-07T16:30:02Z")

</div>

Hi @mikew,

Yes, we remembered you’re using v6, so we backported this feature into the plugin for v6 as well.  
I just haven’t done my homework regarding the documentation yet - will do!

So in short - yes, this is officially supported in the latest version of the plugin for Kibana, even for v6.

Best Regards,  
Mike

---

<div class="post-metadata">

**Author:** ![mikew](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@mikew](https://forum.search-guard.com/u/mikew)\
**Post date:** [January 7, 2020, 5:17pm UTC](https://forum.search-guard.com/t/kibana-plugin-cookie-names/1728/3 "2020-01-07T17:17:25Z")

</div>

Cool. It’s working as expected, thanks! (Though I am currently looking at moving to a model where we use tenants in Kibana which would mean we explicitly don’t want to customise cookie names per-host, but it’s still nice to have the option to do so. 😃 )

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)\
**Post date:** [January 28, 2020, 5:17pm UTC](https://forum.search-guard.com/t/kibana-plugin-cookie-names/1728/4 "2020-01-28T17:17:27Z")

</div>

Closed on January 28, 2020, 5:17pm UTC

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