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!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...