Goal
Create a server restart alert for all servers in our environment (Azure VMs & Arc servers)
Azure VMs
We can use the Azure Activity Logs to alert on an Azure VM being restarted. One downside of this is that we have 50 Azure subscriptions, so an alert needs to be set up for at least every subscription that has production virtual machines.
Arc Servers
We have enabled VM Insights and are collecting logs in 1 Log Analytics Workspace for all Arc servers.
My question is how can I create an alert that tells us when an Arc server has been restarted? Most of these are on-prem Windows servers.
One article suggests using a Log alert on the (Windows) Event table, but Windows Events are not sent to our Log Analytics Workspace by default.