Forum Discussion
Watchlist and query
- Oct 30, 2020
roadruner This is the starting query for something like that.
let ClearedIPAddresses=_GetWatchlist('test1');
CommonSecurityLog
| join ClearedIPAddresses on $left.SourceIP== $right.IPAddress
roadruner It will only search the one table.
There really is no way to search all tables for multiple values. There is the "search" command, https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/searchoperator, that allows you to search for a single term although I do not know if this can be used in a Analytic rule or not.
GaryBushey Hmm ok, thanks. How can i search one table? say CommonSecurityLog
I tried this but no dice.
CommonSecurityLog
let ClearedIPAddresses=_GetWatchlist('test1');
Heartbeat
| join ClearedIPAddresses on $left.ComputerIP == $right.IPAddress
- GaryBusheyOct 30, 2020Bronze Contributor
roadruner This is the starting query for something like that.
let ClearedIPAddresses=_GetWatchlist('test1');
CommonSecurityLog
| join ClearedIPAddresses on $left.SourceIP== $right.IPAddress- roadrunerOct 30, 2020Copper Contributor
GaryBushey Thanks! This worked. Just replaced sourceip to destip. and .found the test hits to the list. either way works.