In the demo you will provision Web App and enable Monitoring and Diagnostic for the service.
- Azure CLI or Cloud Shell
-
Open
demo.azcli
and execute line by line to provision Web App. -
Make several requests to the Web App to generate activities for metrics.
-
From the first page demonstrate the base telemetry.
- From the
web app
selectAudit Log
and demonstrate log tracked by Azure Monitor.
- From the
Monitoring
section select Log Stream to observer the output in live mode
-
Find
Logs
from theMonitoring
section.AzureMetrics | summarize arg_max(TimeGenerated, UnitName, Total, Count, Maximum, Minimum, Average) by MetricName