다음을 통해 공유


MySqlAuditLogs 테이블에 대한 쿼리

Azure Portal에서 이러한 쿼리를 사용하는 방법에 대한 자세한 내용은 Log Analytics 자습서를 참조하세요. REST API는 쿼리를 참조 하세요.

일반 이벤트 감사

MySql 감사 로그의 모든 일반 이벤트를 표시합니다.

MySqlAuditLogs
| where EventClass == "general_log"
| order by TimeGenerated desc 
| take 100

연결 이벤트 감사

MySql 감사 로그의 모든 CONNECTION 이벤트를 표시합니다.

MySqlAuditLogs
| where EventClass == "connection_log"
| order by TimeGenerated desc 
| take 100