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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...