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.

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...