Share via

Adding Logs from SQL Hosted on VM to a Log Analytics Workspace

D.R. Monroe 61 Reputation points
2021-04-13T12:52:37.707+00:00

Hello.

I'm looking for guidance regarding how to gather SQL logs generated by MSSQL instances hosted on Azure VMs using a Log Analytics workspace (if this is possible at all).

Searching hasn't yielded any helpful results yet so any ideas would be very much appreciated.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Kasun Rajapakse 431 Reputation points
2021-04-13T16:33:52.723+00:00

You can install Log analytics agent in Azure VM with MSSQL installed. You can follow below link for more information

https://www.red-gate.com/simple-talk/sql/database-administration/how-to-use-sql-audit-and-azure-log-analytics-to-comply-with-audit-rules/

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

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