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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Raw Data to Executive-Ready Stories, Faster

Build Data Stories for Every Audience  A dashboard is rarely just a dashboard. It might be the view an ...

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...