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!

Transforming Financial Data into Fraud Intelligence

Every day, banks and financial companies handle millions of transactions, logins, and customer interactions ...

How to send events & findings from AWS to Splunk using Amazon EventBridge

Amazon EventBridge is a serverless service that uses events to connect application components together, making ...

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...