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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...