Azure Portal에서 이러한 쿼리를 사용하는 방법에 대한 자세한 내용은 Log Analytics 자습서를 참조하세요. REST API는 쿼리를 참조 하세요.
사용자별 부조종사 상호 작용
지난 7일 동안의 개수 및 시간 범위를 사용하여 사용자별로 그룹화된 부조합 상호 작용을 표시합니다.
LLMActivity
| where RecordType == "CopilotInteraction"
| where TimeGenerated >= ago(7d)
| summarize InteractionCount = count(),
FirstInteraction = min(TimeGenerated),
LastInteraction = max(TimeGenerated)
by ActorName, ActorUserId
| order by InteractionCount desc
Copilot 플러그 인 관리 작업
지난 30일 동안의 플러그 인 생성, 업데이트 및 상태 변경 내용 표시
LLMActivity
| where RecordType in ("CreateCopilotPlugin", "UpdateCopilotPlugin", "EnableCopilotPlugin", "DisableCopilotPlugin")
| where TimeGenerated >= ago(30d)
| project TimeGenerated, ActorName, RecordType, AgentName, SrcIpAddr
| order by TimeGenerated desc
Copilot PromptBook Management
지난 30일 동안의 PromptBook 만들기, 업데이트 및 삭제 추적
LLMActivity
| where RecordType in ("CreateCopilotPromptBook", "UpdateCopilotPromptBook", "DeleteCopilotPromptBook")
| where TimeGenerated >= ago(30d)
| extend PromptBookId = tostring(LLMEventData.Resource[0].Property)
| project TimeGenerated, ActorName, RecordType, PromptBookId, SrcIpAddr
| order by TimeGenerated desc
Copilot 보안 및 규정 준수 이벤트
지난 7일 동안 탈옥 탐지를 포함한 보안 관련 코필로트 이벤트를 표시합니다.
LLMActivity
| where RecordType == "CopilotInteraction"
| where TimeGenerated >= ago(7d)
| extend Messages = LLMEventData.Messages
| mv-expand Messages
| where tobool(Messages.JailbreakDetected) == true
| project TimeGenerated, ActorName, ActorUserId, AgentName,
MessageId = tostring(Messages.Id),
JailbreakDetected = tobool(Messages.JailbreakDetected)
| order by TimeGenerated desc
AI 모델 사용 통계
지난 30일 동안 코필로트 상호 작용에서 사용되는 AI 모델을 보여 줍니다.
LLMActivity
| where RecordType == "CopilotInteraction"
| where TimeGenerated >= ago(30d)
| where isnotempty(AIModelName)
| summarize InteractionCount = count(),
UniqueUsers = dcount(ActorUserId),
FirstUsed = min(TimeGenerated),
LastUsed = max(TimeGenerated)
by AIModelName, AIModelVersion
| order by InteractionCount desc
코필로트가 액세스하는 리소스
지난 7일 동안 코필로트 상호 작용 중에 액세스한 외부 리소스를 표시합니다.
LLMActivity
| where RecordType == "CopilotInteraction"
| where TimeGenerated >= ago(7d)
| extend AccessedResources = LLMEventData.AccessedResources
| mv-expand AccessedResources
| where isnotempty(AccessedResources.SiteUrl)
| project TimeGenerated, ActorName, AgentName,
ResourceUrl = tostring(AccessedResources.SiteUrl),
Action = tostring(AccessedResources.Action),
ResourceType = tostring(AccessedResources.Type)
| summarize AccessCount = count() by ResourceUrl, Action, ResourceType
| order by AccessCount desc