Thank you for your answer, it helped me out. The final version was a bit more trickier as in the ips field can be an "*" instead of any listed values and in that case any of the found values shou...
See more...
Thank you for your answer, it helped me out. The final version was a bit more trickier as in the ips field can be an "*" instead of any listed values and in that case any of the found values should be considered. So this was the final solution: | makeresults
| eval ips="a,c,x"
```| eval ips="*"```
| eval ips=replace(ips, "\*", "%")
| map [
| makeresults
| append [ makeresults | eval ips="a", label="aaa" ]
| append [ makeresults | eval ips="b", label="bbb" ]
| append [ makeresults | eval ips="c", label="ccc" ]
| append [ makeresults | eval ips="d", label="ddd" ]
| eval outer_ips=split("$ips$", ",")
| where (ips=outer_ips OR LIKE(ips, "$ips$"))
```with the above conditon when only a * (%) is there as a value it will catch it with the LIKE. when some other value then the first condition will catch the proper events)```
] maxsearches=10