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

Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...