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 🙂

nikhilagrawal
Path Finder

thanks that worked.

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...