All Apps and Add-ons

Multiple checkbox performance

Parameshwara
Path Finder

I have about 40+ checkbox module defined in my XML as below:

<module name="Checkbox" layoutPanel="panel_row1_col1_grp1">
    <param name="name">A</param>
    <param name="label">Name A</param>
    <param name="onValue">Name A</param>
    <param name="labelPosition">right</param>
<module name="Checkbox" layoutPanel="panel_row1_col1_grp2">
    <param name="name">B</param>
    ...

When I click on a checkbox, it takes about 2-3 second before the checkbox tick appears. I am assuming this is due to the number of checkbox I have defined. Questions:

1.What can be done to improve this performance?

2.What's the suggested amount of checkbox on a dashboard that will not have an impact on performance (i.e. the checkbox tick to register immediately upon selection)

1 Solution

sideview
SplunkTrust
SplunkTrust

I took a look and indeed, if you had a very deeply nested view, there was something that was scaling very badly.

the good news: I removed it. And Sideview Utils 2.4.7 is up, that has this change. If you update to latest this performance problem should go away entirely.

Now I set you up for bad news, but there is no bad news really.

Although if you are unable to update, there isn't a whole lot you could do. You might look at the Checkboxes module instead of using lots of Checkbox modules. It's possible you can do what you're doing with Checkbox instead, although it's not certain - the two are actually used in slightly different use cases. See the Checkboxes documentation for further information.

Thank you for posting the details about the problem, and sorry for not finding this earlier myself.

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

I took a look and indeed, if you had a very deeply nested view, there was something that was scaling very badly.

the good news: I removed it. And Sideview Utils 2.4.7 is up, that has this change. If you update to latest this performance problem should go away entirely.

Now I set you up for bad news, but there is no bad news really.

Although if you are unable to update, there isn't a whole lot you could do. You might look at the Checkboxes module instead of using lots of Checkbox modules. It's possible you can do what you're doing with Checkbox instead, although it's not certain - the two are actually used in slightly different use cases. See the Checkboxes documentation for further information.

Thank you for posting the details about the problem, and sorry for not finding this earlier myself.

0 Karma

sideview
SplunkTrust
SplunkTrust

You just don't know what you're missing, and I say that unironically. You should definitely upgrade. If you're still back at 1.3.5 then you're missing about a hundred bugfixes, performance improvements and new features, and better and more extensive documentation. Plus the massive performance improvement made in 2.4.4. Also if you're a big user of Checkbox you should check out the Checkboxes module. Also the Sideview Editor - a visual authoring system for creating and editing advanced xml views. Too much to list though, really.

http://sideviewapps.com/apps/sideview-utils

0 Karma

Parameshwara
Path Finder

I'm still using the free 1.3. version, as haven't found a real need for any particular features in the new version 2. That might change now. Can i install both versions in Splunk?

0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...