title: Azure Log Analytics - SQL Managed Instance logs
body: <p>I need to retrieve executed sql queries by using log analytics.
  I have the log analytics workspace and also configured diagnostic settings (SQL managed instance and database).
  But there is no data when I try to execute the following kusto query:</p>
  <pre><code>AzureDiagnostics | where Category == &quot;QueryStoreRuntimeStatistics&quot;
  </code></pre>
  <p>Should I set up something more to see this data? (enable Query Store - Write and Read - directly on the SQL Server Database ?)
  In the AzureDiagnostic table I have only UsageStats and Erros.</p>