Dashboards & Visualizations

Is there a way to set an html page as the Home Page default for Splunk?

katelynengel
Explorer

I know that the default Splunk settings do not allow you to set an html page as the Home Page default. I was wondering if there is a way around this as our Home Pages are html.

0 Karma

jchampagne_splu
Splunk Employee
Splunk Employee

Yes, you’re able to replace the default homepage for your app with an HTML page. You just need to create an HTML folder in one of the following places:

  $SPLUNK_HOME/etc/<app>/default/data/ui/html
  $SPLUNK_HOME/etc/<app>/local/data/ui/html

Create your HTML dashboard and place it in the HTML folder you created above. Keep in mind that your HTML page will need to include all of the navigation and toolbars because you’ll be replacing the entire Splunk UI. A good way to get started with an HTML dashboard would be to create a simple XML dashboard and convert it to HTML and then make any further changes you need. You can convert any simple XML dashboard to HTML by opening the dashboard, clicking Edit > Convert to HTML

Next, edit the default.xml file in the nav folder to reference the name of your HTML page (without the extension). To make that page the default, just add default=“true” to the line. You'll want to make sure that a simple XML dashboard with the same name as your HTML dashboard does not exist.

Example:

<nav>
  <collection label="Overview">
    <view name="cumulative_overview" default="true"/>
    <view name="host_overview" />
  </collection>

timpacl
Path Finder

I assume you meant the path to be $SPLUNK_HOME/etc/apps//local/data/ui/html

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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