All Apps and Add-ons

Checkboxes dynamic list only show less than 100 checkboxes populated from a savedsearch

royimad
Builder

Hello,
I have a saved search with more than 100 values that i would like to show in checkboxes modules of sideview. How to do that?


<![CDATA[
|savedsearch Reports_Listing
]]>


REPORTS
value
label
+OR+
ACTIONNAME="$REPORTS$"
( $value$ )

1 Solution

sideview
SplunkTrust
SplunkTrust

By default the module will only render 50 dynamic checkboxes, but you can raise this ceiling by setting the "count" param.

ie

<param name="count">200</param>

This param isn't mentioned in the normal Sideview Utils docs page for Checkboxes, but if you click the link that says "Read the specification for the Sideview module: Checkboxes and its params.", those specification pages always list every param and their descriptions, so you can read about it there.

View solution in original post

sideview
SplunkTrust
SplunkTrust

By default the module will only render 50 dynamic checkboxes, but you can raise this ceiling by setting the "count" param.

ie

<param name="count">200</param>

This param isn't mentioned in the normal Sideview Utils docs page for Checkboxes, but if you click the link that says "Read the specification for the Sideview module: Checkboxes and its params.", those specification pages always list every param and their descriptions, so you can read about it there.

sideview
SplunkTrust
SplunkTrust

I would wait until Sideview Utils 2.7, coming out soon, wherein I've made it so you can have a ValueSetter set REPORT to "*" upstream, and your Checkboxes will select all.

There is technically a really janky way -- Use a postprocess search to make a giant concatenated string of all the values, use ResultsValueSetter to pull down that string, use ValueSetter to split it into an array-valued key in the UI. If you do stitch all of this in between Checkboxes and its Search, and that ValueSetter has the same name as the Checkboxes module it'll populate them all. Like I said, janky!

0 Karma

royimad
Builder

Is there any technique that i can use to add a button to check/uncheck all checkboxes?

0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...