Dashboards & Visualizations

Remove Account Bar from Apps Splunk 6

Yorokobi
SplunkTrust
SplunkTrust

How can I remove the account bar (the black bar at the top with the Splunk logo, application menu, etc.) from an app in Splunk 6? I see how to do it with CSS overrides for an app's dashboards but no way to do so for the entire app (reports, dashboards, search, pivot, etc.) without using the Django framework?

Yorokobi
SplunkTrust
SplunkTrust
0 Karma

araitz
Splunk Employee
Splunk Employee

Unclear why, but there is no way to do this in Simple XML.

Here's a gross hack that will hide the navbar, put this in your_app/appserver/static/dashboard.css:

.navbar {
    display: none;
}

Clever folks will be able to make it visible again if they really want to with their browser developer tools.

araitz
Splunk Employee
Splunk Employee

Yes, this is how you would have to change it for all apps. I read your question as referring to "an app". I guess "an app" was the search app.

As you found, dashboard.css is only relevant for single apps, and moreover is only loaded by Simple XML pages.

0 Karma

sansay
Contributor

Thanks for the clue.
However for it to remove the top black bar I had to use the following:

.appHeader {
     display: none;
 }
0 Karma

Yorokobi
SplunkTrust
SplunkTrust

Yes, I have already explored this option and it works great -- for dashboards/views only. It does not affect the entire app, nor does it affect the "global" views such as search, data-models/pivot, dashboards, or reports.

Short of reworking the nav menu to eliminate all but the app-specific dashboards (no ad-hoc search, no pivot, no listing of dashboards, no listing of reports), the only way I've been able to do it is to change the bootstrap.css file, which changes the CSS for ALL apps.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

While I don't have an answer on how to remove it (other than turn it into an HTML dashboard and remove that bit of JS), you might want to review this: http://www.splunk.com/view/SP-CAAAFT9 . You have to have a Splunk Logo Somewhere at the top. Just one more thing to keep in mind.

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