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:
AzureDiagnostics | where Category == "QueryStoreRuntimeStatistics"
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.