# Kibana load balancing and sticky sessions

**URL:** <https://discuss.elastic.co/t/kibana-load-balancing-and-sticky-sessions/167991>\
**Category:** Kibana\
**Created:** [February 12, 2019, 9:10am UTC](https://discuss.elastic.co/t/kibana-load-balancing-and-sticky-sessions/167991 "2019-02-12T09:10:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yannis\_despotopoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yannis_despotopoulos/32/48141_2.png) [@yannis\_despotopoulos](https://discuss.elastic.co/u/yannis_despotopoulos)\
**Post date:** [February 12, 2019, 9:10am UTC](https://discuss.elastic.co/t/kibana-load-balancing-and-sticky-sessions/167991/1 "2019-02-12T09:10:34Z")

</div>

Hello,

When load balancing requests to multiple Kibana instances, do we have to configure sticky sessions at the load balancer?  
I cannot find something related in Kibana (6.x) documentation.  
Does kibana store (and sync) somewhere user sessions info?

thanks  
Yannis

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [February 12, 2019, 5:19pm UTC](https://discuss.elastic.co/t/kibana-load-balancing-and-sticky-sessions/167991/2 "2019-02-12T17:19:01Z")

</div>

Hi, yes I believe in this setup, sticky sessions are essential, you'll also want to configure all the Kibana instances with the same encryption key.

The approach that is officially supported is to use a coordinating ES node: [https://www.elastic.co/guide/en/kibana/current/production.html#load-balancing](https://www.elastic.co/guide/en/kibana/current/production.html#load-balancing)

---

<div class="post-metadata">

**Author:** ![yannis\_despotopoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yannis_despotopoulos/32/48141_2.png) [@yannis\_despotopoulos](https://discuss.elastic.co/u/yannis_despotopoulos)\
**Post date:** [February 15, 2019, 6:02am UTC](https://discuss.elastic.co/t/kibana-load-balancing-and-sticky-sessions/167991/3 "2019-02-15T06:02:38Z")

</div>

Thanks for the reply.

The link you provide defines the coordinating ES which is placed after kibana towards the elastic nodes.  
Is there any documentation regarding the kibana configuration facing the client/browser?

---

<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 15, 2019, 6:11am UTC](https://discuss.elastic.co/t/kibana-load-balancing-and-sticky-sessions/167991/4 "2019-03-15T06:11:12Z")

</div>

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