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!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...