Dashboards & Visualizations

How to fix Splunk nav bar?

patricianaguit
Explorer

I changed my localhost and when i created a new app, my app's nav bar turned into this format and the color is black instead of the green one?

Is there a way to fix this?

alt text

0 Karma
1 Solution

Yunagi
Communicator

It looks like your app does not have a navigation bar configured.
Have a look at this link: Add navigation to a Splunk app

Basically, to create your own navigation bar, you need to create the file etc/apps/myapp/default/data/ui/nav/default.xml. (Replace "myapp" with the name of your app.) The contents of this file should be something like this:

<nav search_view="search" color="#65A637">
    <view name="search" default="true" />
    <view name="data_models" />
    <view name="reports" />
    <view name="alerts" />
    <view name="dashboards" />
</nav>

Restart Splunk after creating this file. Now you should have a navigation menu.

Later you can edit the navigation menu directly via Settings/User interface/Navigation menus.

View solution in original post

0 Karma

nickhills
Ultra Champion

The top of the nav bar being black is quite normal - Do you mean the search bar has gone black? You can change this in your user preferences.

If my comment helps, please give it a thumbs up!
0 Karma

Yunagi
Communicator

It looks like your app does not have a navigation bar configured.
Have a look at this link: Add navigation to a Splunk app

Basically, to create your own navigation bar, you need to create the file etc/apps/myapp/default/data/ui/nav/default.xml. (Replace "myapp" with the name of your app.) The contents of this file should be something like this:

<nav search_view="search" color="#65A637">
    <view name="search" default="true" />
    <view name="data_models" />
    <view name="reports" />
    <view name="alerts" />
    <view name="dashboards" />
</nav>

Restart Splunk after creating this file. Now you should have a navigation menu.

Later you can edit the navigation menu directly via Settings/User interface/Navigation menus.

0 Karma

patricianaguit
Explorer

Thank you 🙂 this helped me solve my problem

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @patricianaguit ,
What changes you did on you localhost?

0 Karma

patricianaguit
Explorer

Thank you 🙂 already fixed this issue!

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 ...