IT & IoT Security | Cloud | It's all about the life itself

Nothing in life is as important as you think it is, while you are thinking about it.

Splunk – Add navigation to an app

Greetings,

To customize the navigation menu of your app, customize default.html under the path.

/opt/splunk/etc/apps/<app_name>/default/data/ui/nav/default.xml

I assume that splunk enterprise has been installed the path /opt/splunk/

The default structure of the xml file is as below

<nav search_view="search">
  <view name="search" default='true' />
  <view name="datasets" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
</nav>

Here below see my customization

<nav search_view="search" color="#00FF00">
   <a href="https://www.sig-switzerland.ch/upcoming-events/">CH SIG Group</a>
   <collection label="Web use cases">
         <a href="http://www.aydogmusoglu.com">My Blog</a>
         <a href="https://www.battle.net">WOW FTW</a>
   </collection>

   <collection label="Others">
        <view name="search" default='true' />
        <view name="datasets" />
        <view name="reports" />
        <view name="alerts" />
        <view name="dashboards" />
   </collection>

</nav>

With the customization I have the above menus.

Source : https://dev.splunk.com/enterprise/docs/developapps/addnavsplunkapp

Regards

Leave comment

Your email address will not be published. Required fields are marked with *.