Hello!
Hope someone can assist.
The search:
| datamodel "Intrusion_Detection" "Network_IDS_Attacks" search | where srcip="184.105.247.196"
Returns all the events from the data model, where the field srcip=184.105.247.196
The search:
| datamodel "Intrusion_Detection" "Network_IDS_Attacks" search | where srcip="184.105.247.*"
Returns nothing.
Am I missing something here? I've used wildcards in numerous searches up to now, so I can't understand why this is failing. Is the *
being escaped by the quotes, which I didn't think was possible?
I can find the original events which match using the same where srcip="184.105.247.*"
conditional from outside of the datamodel.
Cheers.
Try search instead or use where with LIKE:
| datamodel "Intrusion_Detection" "Network_IDS_Attacks" search | search srcip="184.105.247.*"
Try search instead or use where with LIKE:
| datamodel "Intrusion_Detection" "Network_IDS_Attacks" search | search srcip="184.105.247.*"
To be clear, the "where" search operator is very literal.
That's solved it, thanks!