Installation

Deploy Splunk with a different context

vikaskulkarni
Observer

Hi All,

I am trying to deploy Splunk in a different context.

By default when I run this command

/opt/splunk/bin/splunk start --accept-license

It starts the web with "/" as a deployment web context and I can access it by http://localhost:8000/

Now, if I would like to access Splunk like this

http://localhost:8000/splunk-local, so that all the redirect URLs would look like this

http://localhost:8000/splunk-local/en-US/app/launcher/home, http://localhost:8000/splunk-local/en-US/account/login?return_to=%2Fen-US%2Fapp%2Flauncher%2Fhome

Reason for asking this question: In the Kubernetes environment, it's a bit challenging to configure Networks for applications using the default "/" as a context

Thanks

Vikas

@jho-splunk @daniel333 @48tfhd86gv @gcusello @dstromberg 

Labels (1)
0 Karma

vikaskulkarni
Observer

Hey, after posting the question, I was doing some more digging and found that if I override root_endpoint value in $SPLUNK_HOME/etc/system/default/web.conf, it works

# Top level name for the site
root_endpoint = /splunk-local
 
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...