Deployment Architecture
Highlighted

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

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 ?

Highlighted

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

Path Finder

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

View solution in original post

Highlighted

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

SplunkTrust
SplunkTrust

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

Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.