Getting Data In

multi-select parameter on a dashboard

cpraz_ord
Explorer

I have a multi-select parameter on a dashboard.

I want to pass it to the search in the panel…a single value is …. | search myfield=”$mytoken$”

…what if I want to use a multi-value thus generate .... | search myfield=this OR myfield=that, etc.

Thanks!

0 Karma
1 Solution

gokadroid
Motivator

Try to use Token Value Prefix , Token Value Suffix and Delimiter option like below and later on use as your query | search $mytoken$

alt text
Notice the preview value and use accordingly in your search making sure Delimiter has the spaces around OR to get appropriate result.

View solution in original post

gokadroid
Motivator

Try to use Token Value Prefix , Token Value Suffix and Delimiter option like below and later on use as your query | search $mytoken$

alt text
Notice the preview value and use accordingly in your search making sure Delimiter has the spaces around OR to get appropriate result.

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...