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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...