Dashboards & Visualizations

How to hide navigation bar and "Create new dashboard" option if application.css is not supported in Splunk 6+?

went14
Engager

Hello,
I want to customize my app in Splunk 6.0 .
What I want is to
1) Hide nav bar
2) I do not want to show create new dashboard option to my user .

I read some documents on app customization which were referring to application.css and some blogs and ans on splunk community which says that this application.CSS is no more supported in splunk 6 and above.
Please suggest how I achieve the above mentioned tasks

Thanks in Advance

LukeMurphey
Champion

Try dashboard.css instead. That is the Splunk 6 equivalent of application.css.

You can hide the apps nav bar with this:

.app-bar{
    display:none;
}

I'm not sure what "New Dashboard" button you are referring to but you can hide the dashboard controls with this:

.splunk-dashboard-controls{
   display: none;
}

ChrisG
Splunk Employee
Splunk Employee

There is a note about application.css and dashboard.css in the documentation: http://docs.splunk.com/Documentation/Splunk/6.1.4/AdvancedDev/Migration#JavaScript_and_CSS_support_c... .

Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...