Security
Highlighted

How to configure Splunk error pages / messages (like 404 not found)?

Explorer

Hi all,

I use the web.conf file to configure login messages, ... Is it a similar method to configure error pages (like 404 not found)?
I could edit the templates in "splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/" but this is not an evolutive solution.

Thanks in advance for your time and help

Labels (1)
Highlighted

Re: How to configure Splunk error pages / messages (like 404 not found)?

Explorer

HI
I'm still facing this problem. Any idea?
Thanks

0 Karma
Highlighted

Re: How to configure Splunk error pages / messages (like 404 not found)?

Explorer

Anyone found a solution to do on an app-by-app basis?

0 Karma
Highlighted

Re: How to configure Splunk error pages / messages (like 404 not found)?

SplunkTrust
SplunkTrust

404 is found here on my install:

C:\Program Files\Splunk\Python-2.7\Lib\site-packages\django\contrib\admin\templates\admin

Also wrapped up in code here:

C:\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\_cperror.py

And here:

C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\lib\error.py

Sometimes it depends on where you are in splunk web/api/etc the message/underlying code may change. There is not a way to do this with .conf flies.

0 Karma
Highlighted

Re: How to configure Splunk error pages / messages (like 404 not found)?

Path Finder

Hi

Can we change the error page of a particular application of Splunk?

Actually I want to change the error page of my application not all applications of splunk.

Can we do it?

Thanks in Advance.

Thanks and Regards
Nikks

0 Karma
Highlighted

Re: How to configure Splunk error pages / messages (like 404 not found)?

Motivator

For me in 7.2 I can only find/modify it in error.py, not the rest

0 Karma
Highlighted

Re: How to configure Splunk error pages / messages (like 404 not found)?

Explorer

Bump this question, would also love a solution to this. Need to return a specific HTML file when i hit 404 within my app.

Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.