All Apps and Add-ons

Is there a way to remove the split window resize frame in dashboards?

jravida
Communicator

Hi folks,

I've been putting together dashboards, and in each there is a horizontal bar used to resize the dashboard, up or down. Since my potential audience will find a way to break everything, or complain about something, I just want to remove it. Is there anything in the XML I should remove or add to get rid of this?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

I don't know a "proper" way to remove that bar through settings within SimpleXML... but you can make it disappear with CSS.

Create a file $SPLUNK_HOME/etc/apps/your_app/appserver/static/no_resize.css with this content:

.dashboard-row .dashboard-panel .ui-resizable-handle{
  display: none !important;
}

Refer to the file from your dashboard(s) by setting stylesheet="no_resize.css" in the <dashboard> or <form> tag. This way it'll only affect dashboards you choose to have no resizing handles... if you want some panels to be resizeable but not others within the same dashboard it'll be more tricky, but should be possible as well if a bit silly.

proylea
Contributor

You can also get rid of the rest of that ugly grey panel footer with this

.dashboard-row .dashboard-panel .dashboard-element .panel-footer {
display: none;
}

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