Azure Monitor – Query Logs

Logs Navigation

1. Select the Azure Functions app
2. Under Configured Features, select Application Insights
3. Select “Logs” from the Navigation bar

Logs Query

The following query attempts to pull 10 ‘Trace’ records that contain the word “location” with a severity-level of “1”, and sorts them in descending order:

search in (traces) "location"
| take 10
| where severityLevel  == 1
| sort by timestamp  desc

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s