Deployment Architecture

How to configure cookie based sticky sessions in a load balancer with search head clustering ?

murikadan
Path Finder

Hello Splunkers,

I am using an AWS Elastic Load Balancer (ELB) on top of clustered search heads. Problem that I am trying to solve is how to make the sessions sticky.

Right now I have enabled a time based stickiness, so that the ELB will route the requests to the right search head during the time interval set.

Amazon ELB also supports stickiness based on application cookies, which would be a better solution I think. If so how can I set it up using Splunk cookies ?

1 Solution

murikadan
Path Finder

Configured ELB to perform stickiness based on splunkd_443 cookie. Working now.

View solution in original post

murikadan
Path Finder

Configured ELB to perform stickiness based on splunkd_443 cookie. Working now.

jkat54
SplunkTrust
SplunkTrust

You should use the 'session_id_PORTNUMBER' cookie instead as it expires based on your UI auto-logout settings

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...