Edit

Share via


Queries for the MySqlSlowLogs table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Audit connection events

List top 5 longest queries from MySQL slow logs.

MySqlSlowLogs
| order by QueryDurationMs desc
| take 5