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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...