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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...