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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...