Share via


CHSMManagementAuditLogs 數據表的查詢

匯總作業查詢

列出特定 HSM 資料分割作業的記錄。

CHSMManagementAuditLogs
| where OperationName == "END_MARKER_OPCODE (0xffff)/SPECIAL (0xffff)" 
| where OperationName == "CN_GENERATE_KEY_PAIR (0x19)/CN_MGMT_CMD (0x0)"
| sort by TimeGenerated desc 
| limit 100

失敗的作業計數

userId、operationName 和 opCode 失敗的 HSM 分割作業要求計數。

CHSMManagementAuditLogs
| where not(Response contains "FAIL")
| summarize count() by TimeGenerated, UserId, OperationName, Opcode

每個用戶的作業

每個使用者執行的 HSM 資料分割作業總數。

CHSMManagementAuditLogs
| summarize count() by UserId