All Apps and Add-ons

Automatic Simple XML Dashboard: How to add a scroll bar to the fieldset elements

bharathkumarnec
Contributor

Hi Everyone,

I have a use case where, a dashboard should contain 15 selections with a combination of checkbox, dropdown, radi button, text boxes etc etc...
When I use all of them, the dashboard looks odd as all these selections itself take three rows, instead, I would like to use a scroll bar instead.

Can some one help me with the easiest solution to achieve this??

Regards,
BK

0 Karma

jacobpevans
Motivator

You'll need to apply custom CSS. You can do this within simple XML. Upon inspection, the css class that Splunk gives that <div> is fieldset, so just apply a custom height and/or scroll properties to that class to get what you need.

Cheers,
Jacob

If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.
0 Karma

niketn
Legend

@bharathkumarnec would it be possible for you to share any screenshot of current dashboard with input panels or mock dashboard and also code snippet for the same so that community can assist you better?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Enhance Security Operations with Automated Threat Analysis in the Splunk EcosystemAre you leveraging ...

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...