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!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...