Muokkaa

Jaa


Get information about Azure Monitor metrics, logs, and alerts using Microsoft Copilot in Azure (preview)

You can ask Microsoft Copilot in Azure (preview) questions about metrics and logs collected by Azure Monitor, and about Azure Monitor alerts.

When you ask Microsoft Copilot in Azure for this information, it automatically pulls context when possible, based on the current conversation or on the page you're viewing in the Azure portal. If the context of a query isn't clear, you'll be prompted to specify the resource for which you want information.

Note

The tasks and sample prompts listed here show a few of the areas where Microsoft Copilot in Azure (preview) can be especially helpful. However, this is not a complete list of all the things you can do. We encourage you to experiment with your own prompts and see how Microsoft Copilot in Azure (preview) can help you manage your Azure resources and environment.

Important

Microsoft Copilot in Azure (preview) is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Answer questions about Azure Monitor platform metrics

Use Microsoft Copilot in Azure to ask questions about your Azure Monitor metrics. When asked about metrics for a particular resource, Microsoft Copilot in Azure generates a graph, summarizes the results, and allows you to further explore the data in Metrics Explorer. When asked about what metrics are available, Microsoft Copilot in Azure describes the platform metrics available for the given resource type.

Platform metrics sample prompts

Here are a few examples of the kinds of prompts you can use to get information about Azure Monitor platform metrics. Modify these prompts based on your real-life scenarios, or try additional prompts to get different kinds of information.

  • "What platform metrics are available for my VM?"
  • "Show me the memory usage trend for my VM over the last 4 hours"
  • "Show trends for network bytes in over the last day"
  • "Give me a chart of os disk latency statistics for the last week"

Answer questions about Azure Monitor logs

When asked about logs for a particular resource, Microsoft Copilot in Azure generates an example KQL expression and allows you to further explore the data in Azure Monitor logs. This capability is available for all customers using Log Analytics, and can be used in the context of a particular Azure Kubernetes Service (AKS) cluster that uses Azure Monitor logs.

To get details about your container logs, start on the Logs page for your AKS cluster.

Logs sample prompts

Here are a few examples of the kinds of prompts you can use to get information about Azure Monitor logs for an AKS cluster. Modify these prompts based on your real-life scenarios, or try additional prompts to get different kinds of information.

  • "Are there any errors in container logs?"
  • "Show logs for the last day of pod <provide_pod_name> under namespace <provide_namespace>"
  • "Show me container logs that include word 'error' for the last day for namespace 'xyz'"
  • "Check in logs which containers keep restarting"
  • "Show me all Kubernetes events"

Answer questions about Azure Monitor alerts

Use Microsoft Copilot in Azure (preview) to ask questions about your Azure Monitor alerts. When asked about alerts, Microsoft Copilot in Azure (preview) summarizes the list of alerts, their severity, and allows you to further explore the data in the alerts page.

Sample prompts

Here are a few examples of the kinds of prompts you can use to get information about Azure Monitor alerts. Modify these prompts based on your real-life scenarios, or try additional prompts to get different kinds of information.

  • "Are there any alerts for my resource?"
  • "Tell me more about these alerts. How many critical alerts are there?"
  • "Show me all the alerts in my resource group"
  • "List all the alerts for the subscription"
  • "Show me all alerts triggered during the last 24 hours"

Answer questions about Azure Monitor Investigator (preview)

Use Microsoft Copilot in Azure (preview) to ask questions about your resources and to run Azure Monitor Investigator. You can ask to run an investigation on a resource to learn about what happened, possible causes, and ways to troubleshoot the issue.

Sample prompts

Here are a few examples of the kinds of prompts you can use to get information about Azure Monitor Investigator. Modify these prompts based on your real-life scenarios, or try additional prompts to get different kinds of information.

  • "Why is this resource not working properly?"
  • "Is there any anomaly in my AKS resource?"
  • "Run investigation on my resource"
  • "What is causing the issue in this resource?"
  • "Had an alert in my HCI at 8 am this morning, run an anomaly investigation for me"
  • "Run anomaly detection at 10/27/2023, 8:48:53 PM"

Next steps