# How to maintain session between multiple kibana servers

**URL:** <https://discuss.elastic.co/t/how-to-maintain-session-between-multiple-kibana-servers/296849>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [February 10, 2022, 1:53pm UTC](https://discuss.elastic.co/t/how-to-maintain-session-between-multiple-kibana-servers/296849 "2022-02-10T13:53:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swchandu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swchandu/32/95295_2.png) [@swchandu](https://discuss.elastic.co/u/swchandu)\
**Post date:** [February 10, 2022, 1:53pm UTC](https://discuss.elastic.co/t/how-to-maintain-session-between-multiple-kibana-servers/296849/1 "2022-02-10T13:53:56Z")

</div>

Hi,

I have 2 kibana servers and willing to put behind a LB. can some one provide me the steps.

I have already set same values on both kibana servers  
xpack.actions.enabled: true  
xpack.encryptedSavedObjects.encryptionKey: generated  
xpack.reporting.encryptionKey: generated  
xpack.security.encryptionKey: generated  
**xpack.security.cookieName: "sid"**  
I am not sure what needs to be furnished in place of sid.

Can some one help.

Thanks

---

<div class="post-metadata">

**Author:** ![swchandu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swchandu/32/95295_2.png) [@swchandu](https://discuss.elastic.co/u/swchandu)\
**Post date:** [February 12, 2022, 6:49pm UTC](https://discuss.elastic.co/t/how-to-maintain-session-between-multiple-kibana-servers/296849/2 "2022-02-12T18:49:11Z")

</div>

I am able to do it. using server.publicBaseUrl

---

<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:** [March 12, 2022, 6:49pm UTC](https://discuss.elastic.co/t/how-to-maintain-session-between-multiple-kibana-servers/296849/3 "2022-03-12T18:49:53Z")

</div>

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