Getting Data In

Why am I getting 404 on static files after having define root_endpoint in web.conf?

nverducou
New Member

Hello

I've defined root_endpoint = /splunk in web.conf file. But now I'm getting 404 on /splunk/en-US/static/* files. What did I do wrong?

Regards

Nicolas

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @nverducou,

why did you defined the root_endpoint?

as you can read in https://docs.splunk.com/Documentation/ITSI/4.12.0/Configure/web.conf 

root_endpoint = <URI_prefix_string>
* Defines the root URI path on which the appserver will listen
* For example, if you want to proxy the splunk UI at http://splunk:8000/splunkui,
  then set root_endpoint = /splunkui
* Default: /

 So why did you defined it? usually it's used by default.

Ciao.

Giuseppe

0 Karma

nverducou
New Member

Because Splunk will be part of a set of components that are identified by their context path. 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @nverducou,

it isn't so clear for me whay you did this, but anyway, you have to add "/splunk" to the path of each object of all your apps.

In other words, if you want to add an image to a dashboard, instead of 

/static/app/<your_app>/<your_image>

you have to add

/splunk/static/app/<your_app>/<your_image>

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...