tyconsulting / azurepolicy

MIT License
146 stars 132 forks source link

Diagnostic Setting doesn't work for Virtual Machines #18

Closed coulsonr closed 2 years ago

coulsonr commented 3 years ago

I don't believe this works with Virtual Machines anymore. The Virtual Machine blade for Diagnostics doesn't even take a log analytics workspace as input. Is there a different blade menu for Virtual Machines this was intended for that I'm not seeing? See screen shot for reference.

VMDiagnostics

tyconsulting commented 2 years ago

it's not available via the portal, but indeed supported (you can verify it using this REST API: https://docs.microsoft.com/en-us/rest/api/monitor/diagnostic-settings-category/get

Torxsmind commented 2 years ago

I have the same question. Does not seem like anything is going to the Log analytics with the policy here.