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... .

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...