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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...