CIEventsOperational 表的查询

有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询

CIEventsOperational - 事件类型 ApiEvent

获取 eventType 为 APIEvent 的操作事件的列表。

CIEventsOperational
| where EventType has "ApiEvent"
| sort by TimeGenerated desc
| limit 100 // You can adjust the limit value to the number of logs you would like to retrieve.

CIEventsOperational - 事件类型 WorkflowEvent

获取 eventType 为 WorkflowEvent 的操作事件的列表。

CIEventsOperational
| where EventType has "WorkflowEvent"
| sort by TimeGenerated desc
| limit 100 // You can adjust the limit value to the number of logs you would like to retrieve.

CIEvents - 特定相关 ID 的所有事件

获取特定相关 ID 的所有事件请求的列表

union CIEventsAudit , CIEventsOperational
| where CorrelationId == "" // Add your CorrelationId in the quotation marks
| sort by TimeGenerated desc
| limit 100

CIEventsOperational - 特定实例 ID 的所有事件

获取特定实例 ID 的 API 事件请求的列表。

CIEventsOperational
| where InstanceId == "" // Add your InstanceId in the quotation marks
| sort by TimeGenerated desc
| limit 100