Hello @Zeeshan Khan,
welcome to this moderated Azure community forum.
according to this documentation, you need to add diagnostics settings:
- Open a Managed Grafana resource, and go to Diagnostic settings, under Monitoring
- Select + Add diagnostic setting.
- For Diagnostic setting name, enter a unique name.
- Select allLogs from the following options:
- audit streams all audit logs
- allLogs streams all logs
- Grafana Login Events streams all Grafana login events
- AllMetrics streams all metrics
- Under Destination details, select one or more destinations (like Log Analytics workspace) fill out details and select Save.
Check the documentation for more details.
This answer is written by myself, not by some AI. If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.