Dashboards & Visualizations

How to show values by selecting choice in Dropdown

yabir
Loves-to-Learn

I have a dropdown and I want to show values between 0 and 10 , 10 and 20 , 20 and 30

<input type="dropdown" token="Nb" searchWhenChanged="true">
        <label>Nb</label>
        <choice value="0--10">0--10</choice>
        <choice value="0--10">0--20</choice>
        <choice value="0--20">0--30</choice>
         
Labels (1)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @yabir,

if you want to choose a range for a field value (e.g. my_field), you have to use something like this:

<input type="dropdown" token="Nb" searchWhenChanged="true">
        <label>Nb</label>
        <choice value="my_field<11">0--10</choice>
        <choice value="my_field>10 AND my_field<21">11--20</choice>
        <choice value="my_field>20 AND my_field<31">21--30</choice>

Ciao.

Giuseppe

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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...