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!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...