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!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...