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!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...