All Apps and Add-ons

How do you edit a custom message in a 404 page of Splunk for a particular app only?

jiaqya
Builder

I am looking to provide a custom message to the user when they get a 404 error on a particular app.

is there any way to achieve this ?

Tags (1)
0 Karma

mikewilldo2
New Member

Also looking for something here. I am creating my website and it's all done. One thing that I did forget to edit is the 404 page. I'm not sure on how I want it to look, something like https://under-the-open-sky.com/404/ I find it quite funny and somewhat cute. Is there a way to edit this or change it to my liking so I can use this?

0 Karma

dkeck
Influencer

HI,

have a look at this post : https://answers.splunk.com/answers/287840/how-to-configure-splunk-error-pages-messages-like.html

So Solution mentioned, but the paths you should look for. Looks like not possible with confs.

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
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...