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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...