Where are the MySQL Flexible Server Log Analytics tables documented?

JohnSebastian-3934 441 Reputation points
2024-01-15T16:26:19.6633333+00:00

I cannot find documentation for the list of Log Analytics tables available for querying when I set my Azure MySQL Flexible Server diagnostics to send to Log Analytics. If I click on the Logs menu item in the Azure Portal, it drops me to Log Analytics. The page I land on claims that the resource type I am working with is Azure Database for MySQL Flexible Servers but there are only three example queries: Audit general events, Audit connection events and Audit connection events that appears to be a "longest queries" type query. All three example queries fail. It appears that the table names are unknown.
Where are these table names documented? This is such a poor user experience.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
986 questions
0 comments No comments
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 18,996 Reputation points Moderator
    2024-01-16T06:47:48.74+00:00

    @JohnSebastian-3934 Thanks for your question. As you have mentioned that you have enabled diagnostic settings for Azure Database for MySQL server, I assume that you are looking for the Audit Logs and Slow Logs. You can check the logs in AzureDiagnostics Table.

    For more information refer below documents

    Also, to know the logs table by resource type, you can refer this document: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/tables-resourcetype


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.