2

I have a text box in a Splunk dashboard, and I'm trying to find out how I can separate values entered into the text box that are separated by commas with an OR clause.

For example:

values entered into text box: 102.99.99, 103.99.93, 203.23.21

index=abc sourcetype=abc src_ip="$ip$" 

Any suggestions?

warren
  • 32,620
  • 21
  • 85
  • 124

1 Answers1

3

What about using the IN operator?

index=abc sourcetype=abc src_ip IN ($ip$)
Mads Hansen
  • 63,927
  • 12
  • 112
  • 147