Dashboards & Visualizations

Dashboard exclude multiple string from input text

newbie09
Explorer

Hello,

My objective is to exclude anything the user input from an input text in a dashboard.

Search string:

index = index_string  sourcetype =  stype_string |eval host = mvindex(fields ,10) | where NOT host in ("$host_token$")

 

Input xml like this:

<input type="text" token="host_token">

<label>Host</label>

<default></default>

</input>

The above works only for a single input in the textbox.

ex.  host1

But if multiple host it doesn't work. Nothing is filtered and all below host shows

ex. host1,host2,host3

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...