All Apps and Add-ons

Creating an APP and setting a custom HTML Webpag

ppatrikfr
Path Finder

Hello everybody,

Well, i'm trying to create a new application on splunk but and i want to create a new custom page to substitute splunk's default search page, but i dont know how to do that i search on splunk answer a little bit but anything works to me.

Idk where to put my HTML page and how set Splunk to get those pages.

If someone could help and put more details about paths, etc.

Obs.: I just create my app and i don't have anything inside, any dashboard or whatever. My app is called CCM_Reports and i create with barebone template.

0 Karma

pdaigle_splunk
Splunk Employee
Splunk Employee

This is done by modifying the navigation menu which is defined in the default.xml file located in the following path:

$SPLUNK_HOME/etc/apps//default/data/ui/nav/

You can find more information on this as well as how to make other customizations similar to this here:

http://dev.splunk.com/view/SP-CAAAEP9

The actual views or the content of the landing page will go in:

$SPLUNK_HOME/etc/apps//default/data/ui/views/

The static content for the HTML files go into the following paths:

$SPLUNK_HOME/etc/apps/your_app_name/appserver/static/

Under here you would have directories and associated files for html, css, images, and js. Here's some documentation around this too:

https://docs.splunk.com/Documentation/Splunk/7.1.1/AdvancedDev/UseCSS

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...