I'm creating a dashboard that displays events relating to servers ("host" field in the search). I want to allow the user to specify the hosts to include via a checkbox dashboard input, however I cannot get this to work.
To simplify the development process, I've mocked up the input into a search as so:
eventtype=SomeEventType | eval servers="serverName01;serverName02;serverName03" | makemv delim=";" servers | search mvfilter(host,servers)
(In the dashboard I obviously don't need to "eval servers=" and the "servers" is referenced $servers$, again I only changed this so I could play around with it in the raw search app)
...With my understanding is that it should filter the search results based on those that return "true." The search doesn't error out, but I get no results. However, with the search instead as simply:
eventtype=SomeEventType host="serverName01"
I do get results back.
How do I filter the results, correctly?
... View more