Estou precisando monitora as minhas maquinas quando são desligadas ou reiniciadas, atualmente elas estão no Azure.
I need to monitor my machines when they are turned off or restarted, they are currently in Azure.
You can send your Azure Activity Log to Azure Monitor Logs
You can use the Azure Monitor Agent to collect Windows event logs or Linux syslog and send logs to Azure Monitor Logs.
Then use the Grafana Azure Monitor plugin to query Azure Monitor Logs for the type of events that matter to you.
Some examples here: