Dashboards & Visualizations

Dropdown help

mcbradford
Contributor

I am trying to pass a greater than to my search, but when it gets passed to the search the search looks like this:

=">3"

There are two problems, (1) the "=" and (2) the ""

The "=" is part of my search, so I removed it and changed the choices to "=1" but this passes everything with the ""



0
1
2
3
4
5
>3

Tags (1)

bshuler_splunk
Splunk Employee
Splunk Employee

<input type="dropdown" token="wfap_priority">

<label>Select Priority (5 is high suspect)</label>

<choice value="0">&gt;0</choice>

<choice value="1">&gt;1</choice>

<choice value="2">&gt;2</choice>

<choice value="3">&gt;3</choice>

<choice value="4">&gt;4</choice>

<choice value="5">&gt;5</choice>

</input>

and your search should look something like:
wfap_priority > $wfap_priority$
0 Karma

HiroshiSatoh
Champion

The results of example, but where is the problem?

example:
search sentence
sourcetype="csv-6" wfap_priority > $wfap_priority$ ・・・・・

dropdown
0:[wfap_priority > 0]
1:[wfap_priority > '1']
2:[wfap_priority > "1"]

0 Karma

HiroshiSatoh
Champion

Can the whole of the view be presented wanting see the search sentence assembled?

0 Karma

HiroshiSatoh
Champion

Can XML be presented?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...