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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...