WindowsEvent 表的查询

WindowsEvent 审核策略事件

显示已清除审核的事件 (EventId = 1102) 或更改 (EventId = 4719) 。

WindowsEvent
| where Provider == 'Microsoft-Windows-Security-Auditing' 
| where EventID == 1102 or EventID == 4719
| extend DescriptionMessage = iff(EventID == 1102, 'Audit log was cleared', 'System audit policy was changed')
| take 100