Dashboards & Visualizations

How to Add New Tab on main App

nikhilagrawal
Path Finder

Hi

I want to add new tab "Summary" in one of the App main screen next to Search tab. i tried to create new view for it but it goes under "View" drop-down but I want it next to main tabs.

Example:
Search(tab) Dashboard(tab) Summary(tab) View(tab) Search&Report(tab)
hope Its clear what I am trying to do.

Thanks

Tags (1)
0 Karma

rturk
Builder

Hi There,

What you need to do is add an entry in the default navigation menu for your new summary view.

In the GUI: Manager > User Interface > Navigation Menus > default

Before

<nav>
    <view name="dashboard_live" default='true' />
    <view name="flashtimeline" />
    <collection label="Dashboards">
        <view source="unclassified" match="dashboard"/>
        <divider />
    </collection>
    <collection label="Views">
        <view source="unclassified" />
        <divider />
    </collection>
    <collection label="Searches &amp; Reports">
        <collection label="Reports">
            <saved source="unclassified" match="report" />
        </collection>
        <divider />
        <saved source="unclassified" />
    </collection>
</nav>

After

<nav>
    <view name="Summary" default='true' />  <== Line added
    <view name="dashboard_live" />  <== "default='true'" removed
    <view name="flashtimeline" />
    <collection label="Dashboards">
        <view source="unclassified" match="dashboard"/>
        <divider />
    </collection>
    <collection label="Views">
        <view source="unclassified" />
        <divider />
    </collection>
    <collection label="Searches &amp; Reports">
        <collection label="Reports">
            <saved source="unclassified" match="report" />
        </collection>
        <divider />
        <saved source="unclassified" />
    </collection>
</nav>

This will add a menu tab for the "Summary" view, with the name visible in the menu being whatever the title is in the "Summary" view itself.

Hope this helps :slightly_smiling_face:

nikhilagrawal
Path Finder

thanks that worked.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...