Forum Discussion
ChristopherKerry
Mar 31, 2021Copper Contributor
Wildcard filtering using a watchlist
Hey all, I'm trying to do something like the below: Table
| where Dest !endswith ((_GetWatchlist('watchlist') | project Dest)) However I get an error saying that "StringNotEndsWith operato...
- Apr 01, 2021
ChristopherKerry Try surrounding the entire expression with not() as in
Heartbeat | where not(ComputerIP has_any("192.168.1.1"))
GaryBushey
Apr 01, 2021Bronze Contributor
ChristopherKerry Try surrounding the entire expression with not() as in
Heartbeat
| where not(ComputerIP has_any("192.168.1.1"))ChristopherKerry
Apr 01, 2021Copper Contributor
That worked! Thanks Gary
For anyone trying to do the same thing - the resulting query looked like this:
Table
| where not(Dest has_any ((_GetWatchlist('watchlist') | project Dest)))