|
| 1 | +--- |
| 2 | +title: Observability in Microsoft Discovery |
| 3 | +description: Learn about the observability capabilities available in Microsoft Discovery, including application logs stored in Managed Resource Group Log Analytics workspaces, Azure activity logs for control plane operations, and correlation ID tracing. |
| 4 | +author: mukesh-dua |
| 5 | +ms.author: mukeshdua |
| 6 | +ms.service: azure |
| 7 | +ms.topic: concept-article |
| 8 | +ms.date: 04/15/2026 |
| 9 | +--- |
| 10 | + |
| 11 | +# Observability in Microsoft Discovery |
| 12 | + |
| 13 | +Microsoft Discovery integrates with Azure Monitor to provide comprehensive observability across all platform resources. You can monitor and troubleshoot workspaces, supercomputers, and bookshelves by querying application logs in dedicated Log Analytics workspaces and reviewing activity logs for control plane operations. |
| 14 | + |
| 15 | +## Log types |
| 16 | + |
| 17 | +Microsoft Discovery surfaces three categories of logs: |
| 18 | + |
| 19 | +| Log type | Source | Configuration | Purpose | |
| 20 | +|---|---|---|---| |
| 21 | +| **Application logs** | Log Analytics workspace in Managed Resource Group | Automatic (no setup required) | Trace agent execution, tool runs, indexing jobs, and query operations within the platform | |
| 22 | +| **Activity logs** | Azure Monitor | Automatic (available by default in Azure Monitor) | Audit and trace control plane operations on Discovery resources (create, update, delete) | |
| 23 | +| **Audit logs** | Azure Storage Account or Log Analytics workspace (customer-owned) | Customer-configurable via diagnostic settings | Archive or query platform and resource-level logs for compliance, security auditing, and long-term retention | |
| 24 | + |
| 25 | +## Managed Resource Group and Log Analytics workspaces |
| 26 | + |
| 27 | +When you create a Microsoft Discovery resource like a workspace, supercomputer, or bookshelf, Microsoft Discovery service provisions a **Managed Resource Group (MRG)** alongside the resource in your subscription. The MRG contains the managed infrastructure required to operate the resource, including a dedicated **Log Analytics workspace** that automatically collects application logs. |
| 28 | + |
| 29 | +Logs flow into the MRG Log Analytics workspace without any other configuration. Each Discovery resource type (a workspace, supercomputer, or bookshelf), has its own MRG and its own Log Analytics workspace, which keeps log data isolated and scoped to the corresponding resource. |
| 30 | + |
| 31 | +> [!NOTE] |
| 32 | +> The MRG is managed by Microsoft. You can read data from its Log Analytics workspace, but you shouldn't modify or delete resources within the MRG. |
| 33 | +
|
| 34 | +## Application log tables by resource |
| 35 | + |
| 36 | +The following tables describe the log tables available in each resource's MRG Log Analytics workspace. |
| 37 | + |
| 38 | +### Workspace |
| 39 | + |
| 40 | +| Table | Description | |
| 41 | +|---|---| |
| 42 | +| `DiscoveryLogs_CL` | Execution traces for agent invocations, tool calls, workflow steps, and error diagnostics for investigations run within the workspace | |
| 43 | +| `DiscoveryCogLoopLogs` | AI orchestration logs from the CogLoop engine, including Act and Cognition sub-loop activity, investigation progress, decisions, and error diagnostics | |
| 44 | + |
| 45 | +### Supercomputer |
| 46 | + |
| 47 | +| Table | Description | |
| 48 | +|---|---| |
| 49 | +| `KubePodInventory_CL` | Tracks pod creation, placement, and lifecycle state across the cluster | |
| 50 | +| `KubeEvents_CL` | Captures Kubernetes events such as scheduling failures, volume mount errors, and pod state transitions | |
| 51 | +| `Syslog_CL` | Records OS-level signals related to node health and underlying infrastructure issues | |
| 52 | +| `SystemContainerLogs_CL` | Logs from platform-managed controllers and orchestration services | |
| 53 | +| `DiscoveryToolLogs_CL` | Application logs from tool containers, including execution output and failures | |
| 54 | +| `DiscoveryBookshelfLogs_CL` | Logs from bookshelf indexing jobs running on the supercomputer | |
| 55 | + |
| 56 | +### Bookshelf |
| 57 | + |
| 58 | +| Table | Description | |
| 59 | +|---|---| |
| 60 | +| `DiscoveryLogs_CL` | Logs from the knowledgebase query container, including query execution traces and error diagnostics | |
| 61 | +| `AzureDiagnostics` | Diagnostic logs from the Azure AI Search service associated with the bookshelf, including indexing operations, query operations, and service-level diagnostics | |
| 62 | + |
| 63 | +> [!NOTE] |
| 64 | +> Bookshelf indexing jobs run on the supercomputer, so indexing logs appear in the supercomputer's MRG under `DiscoveryBookshelfLogs_CL`, not the bookshelf's MRG. |
| 65 | +
|
| 66 | +The `AzureDiagnostics` table is populated by the Azure AI Search resource provisioned in the bookshelf's MRG. |
| 67 | + |
| 68 | +## Activity logs |
| 69 | + |
| 70 | +Azure Activity Logs record all **control plane operations** performed on Microsoft Discovery resources. These are write and delete operations initiated by users or automated processes through the Azure Resource Manager (ARM) API—for example, creating a workspace, updating a supercomputer configuration, or deleting a bookshelf. |
| 71 | + |
| 72 | +Activity logs are available in Azure Monitor and are retained for **90 days** by default. You can extend retention by exporting activity logs to a Log Analytics workspace or storage account via diagnostic settings. |
| 73 | + |
| 74 | +Common Discovery control plane operations visible in activity logs include: |
| 75 | + |
| 76 | +| Operation | Description | |
| 77 | +|---|---| |
| 78 | +| `Microsoft.Discovery/workspaces/write` | Create or update a workspace | |
| 79 | +| `Microsoft.Discovery/workspaces/delete` | Delete a workspace | |
| 80 | +| `Microsoft.Discovery/supercomputers/write` | Create or update a supercomputer | |
| 81 | +| `Microsoft.Discovery/supercomputers/delete` | Delete a supercomputer | |
| 82 | +| `Microsoft.Discovery/bookshelves/write` | Create or update a bookshelf | |
| 83 | +| `Microsoft.Discovery/bookshelves/delete` | Delete a bookshelf | |
| 84 | + |
| 85 | +For instructions on accessing activity logs, see [View activity logs for Microsoft Discovery resources](how-to-view-activity-logs.md). |
| 86 | + |
| 87 | +## Audit logs |
| 88 | + |
| 89 | +Audit logs are customer-configurable logs that you export from Microsoft Discovery resources to an Azure Storage account or a Log Analytics workspace in your own subscription. Unlike application logs (which are automatically collected in the MRG) and activity logs (which are always available in Azure Monitor), audit logs must be explicitly enabled through Azure Monitor **diagnostic settings**. |
| 90 | + |
| 91 | +You can choose to export all available log categories or audit logs only. Audit logs are well suited for: |
| 92 | + |
| 93 | +- **Compliance requirements** - Retain resource-level platform logs for a defined period to satisfy regulatory or organizational policies. |
| 94 | +- **Security auditing** - Store logs in a destination you control to support security reviews and incident investigations. |
| 95 | +- **Long-term retention** - Extend log retention beyond the 90-day default of Azure Monitor activity logs. |
| 96 | + |
| 97 | +Audit logging is supported on the following Discovery resource types: |
| 98 | + |
| 99 | +| Resource type | Resource provider path | |
| 100 | +|---|---| |
| 101 | +| Workspace | `Microsoft.Discovery/workspaces` | |
| 102 | +| Bookshelf | `Microsoft.Discovery/bookshelves` | |
| 103 | +| Supercomputer | `Microsoft.Discovery/supercomputers` | |
| 104 | + |
| 105 | +For step-by-step setup instructions, see [Enable audit logging for Microsoft Discovery resources](how-to-enable-audit-logging.md). |
| 106 | + |
| 107 | +## Correlation IDs |
| 108 | + |
| 109 | +When an operation is performed in Discovery Studio, such as running an investigation, the platform assigns a **correlation ID** that uniquely identifies the request. This ID is propagated across all system components involved in processing that request, and every related log entry in the workspace's `DiscoveryLogs_CL` table includes the correlation ID in the `CorrelationId` field. |
| 110 | + |
| 111 | +Using a correlation ID, you can trace the complete end-to-end flow of a request: when it started, which agents and tools were invoked, any errors that occurred, and when it completed. |
| 112 | + |
| 113 | +Correlation IDs are returned in the **`X-Ms-Correlation-Request-Id`** response header of API calls made by Discovery Studio. You can retrieve them from the browser's developer tools Network tab. |
| 114 | + |
| 115 | +For a step-by-step walkthrough of how to locate and use a correlation ID, see [Query workspace logs](how-to-query-workspace-logs.md). |
| 116 | + |
| 117 | +For control plane issues, check the Activity logs for a correlation ID associated with the failed operation. Include this correlation ID when opening a support request with Microsoft Support to help expedite investigation. |
| 118 | + |
| 119 | +## Log ingestion latency |
| 120 | + |
| 121 | +Logs are typically available in Log Analytics within a few seconds of the event. In rare cases, ingestion can be delayed by up to five minutes. When troubleshooting recent activity, wait a moment and refresh your query if you don't see expected log entries. |
| 122 | + |
| 123 | +## Next steps |
| 124 | + |
| 125 | +- [Access resource logs for Microsoft Discovery resources](how-to-access-resource-logs.md) |
| 126 | +- [Query workspace logs](how-to-query-workspace-logs.md) |
| 127 | +- [Query CogLoop logs](how-to-query-cognitive-loop-logs.md) |
| 128 | +- [Query supercomputer logs](how-to-query-supercomputer-logs.md) |
| 129 | +- [Query bookshelf knowledgebase query logs](how-to-query-bookshelf-query-logs.md) |
| 130 | +- [Query bookshelf indexing logs](how-to-query-bookshelf-indexing-logs.md) |
| 131 | +- [View activity logs for Microsoft Discovery resources](how-to-view-activity-logs.md) |
| 132 | +- [Enable audit logging for Microsoft Discovery resources](how-to-enable-audit-logging.md) |
0 commit comments