Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can ask Microsoft Copilot in Azure 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.
Tip
The tasks and sample prompts listed here show a few of the areas where Microsoft Copilot in Azure can be especially helpful. However, this isn't 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 can help you manage your Azure resources and environment.
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"
Platform metrics examples
When you're working with a resource, you can say "Show me available metrics for this resource." Copilot in Azure lets you know which metrics are available.
You can then follow up by asking to see a particular metric for a set period of time.
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, navigate to your AKS cluster. In the service menu, under Monitoring, select Logs. From there, ask Copilot for information about your container logs.
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 to ask questions about your Azure Monitor alerts. When asked about alerts, Microsoft Copilot in Azure summarizes the list of alerts, their severity, and allows you to further explore the data in the alerts page.
Alerts 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"
Alerts examples
You can say "Catch me up on alerts to get an overview of active alerts across your resources. Copilot in Azure shares the types of alerts, along with details about the top alerts that are currently active.
To narrow it down, you can say "Show me all alerts triggered during the last 24 hours."
Next steps
- Explore capabilities of Microsoft Copilot in Azure.
- Learn more about Azure Monitor and how to use it with AKS clusters.