Azure Monitoring

Terminology

Azure Monitor Service

Monitor your environment to determine the performance, health and availability of your environment by collecting and analyzing data.

Metrics

Log Data

Log data collected by Azure Monitoring is stored in a Log Analytics workspace which is based on Azure Data Explorer. It uses the Kusto query language to retrieve, consolidate and analyze collected data.

Data Types

Azure Monitor can collect data from various sources and categorieze these in different layers, from the application all the way down to the OS and Azure platform. This are the layers:

Azure Monitor Alerts

Create alert actions when something goes wrong. Monitor Alerts are seperated in a different views. The active alerts, alert rules and alert actions. Alerts consists of alert rules, action groups, and monitor conditions. The alert rule is a definition of when to trigger a alert. This can be from metrics, logs, activity logs, log analytics or application insights. The alert action is an action to do when a alert is raised. Send a e-mail or SMS, start an Azure Function, LogicApp, Webhook Automation Runbook or push to a ITSM service.

An alert can have a state of New when started, a state of Acknowledged can be set by an administrator. The state of Closed will be set if the problem is resolved.

The alert rule consists of the follow items:

Alert can monitor the follow signal but is not limited to only these.

Action groups can be used for Azure monitoring alerts. One action group can be used on multiple alert rules. When a person his email or SMS is added to an action group, the person will receive al alert of beeing added to the group. The follow alert items can be used:

You may have up to 10 Azure app actions in an Action Group. At this time the Azure app action only supports ServiceHealth alerts.

Activity Log

The activity is a subscription log that provides insight into subscription-level events.This includes a range of data, from Azure Resource Manager operational data to updates on Service Health events. With the Activity Log, you can determine the ‘what, who, and when’ for any write operations (PUT, POST, DELETE) taken on the resources in your subscription. You can also understand the status of the operation and other relevant properties. Through activity logs, you can determine:

Activity logs are kept for 90 days. You can query for any range of dates, as long as the starting date isn’t more than 90 days in the past. You can retrieve events from your Activity Log using the Azure portal, CLI, PowerShell cmdlets, and Azure Monitor REST API.

Azure Advisor

Advisor is a personalized cloud consultant that helps you follow best practices to optimize your Azure deployments. It analyzes your resource configuration and usage telemetry and then recommends solutions that can help you improve the cost effectiveness, performance, high availability, and security of your Azure resources.

The Advisor cost recommendations page helps you optimize and reduce your overall Azure spend by identifying idle and underutilized resources.

Advisor provides recommendations for virtual machines, availability sets, application gateways, App Services, SQL servers, and Redis Cache.

Resources