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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...