Forum Discussion

Bosanac89's avatar
Bosanac89
Copper Contributor
Nov 16, 2023
Solved

Advanced Hunting

Trying to run this query for advanced hunting but getting the below syntax error.    Can anyone help with this query? Also does anyone know a good resource to use for learning the Kusto language us...
  • cyb3rmik3's avatar
    Nov 17, 2023

    Bosanac89 hi,

     

    TimeGenerated is an operator available in Sentinel (Log Analytics), in Defender XDR, you have to use Timestamp. So, the following query should be fine:

    AlertInfo
    | where isnotempty(AttackTechniques)
    | mvexpand todynamic(AttackTechniques) to typeof(string)
    | where AttackTechniques has "Storm-1575"
    | where Timestamp > ago(90d)
    | summarize AlertCount = dcount(AlertId) by AttackTechniques
    | sort by AlertCount desc

     

    If I have answered your question, please mark your post as Solved

    If you like my response, please consider giving it a like

Resources