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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...