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
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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...