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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...