Hi - confirming for future readers that, using the API, I was able to create a data collection rule using Log Analytics as the destination and with a different collection frequency (5 minutes/300 seconds, in my case).
Martin
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to collect perfmon-based counters from an Azure ARC-connected on-prem VM as generally described here https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-rule-azure-monitor-agent?tabs=portal and when I try to set the sampling frequency to a longer interval (5 minutes) instead of the default 60 seconds I get an error when PUTting the config:
"Data collection rule is invalid","details":[{"code":"InvalidDataSource","message":"Sampling frequency must be equal to 60 seconds for counters collected with Microsoft-InsightsMetrics stream."
Is this unchangeable at this time? I don't need 1-minute frequency and don't want to spend the money on the additional Azure resources to store it...
thanks
Martin
Hi - confirming for future readers that, using the API, I was able to create a data collection rule using Log Analytics as the destination and with a different collection frequency (5 minutes/300 seconds, in my case).
Martin
Apologies for the delayed response. Here are the updates regarding this issue:
Currently, there are issues related to portal experience for DCR when trying to select "Log Analytics" as the destination for the perf data collection, which is being actively worked on. It is expected to be fixed in the next few weeks.
[Update 07/17] - As confirmed above, you may use the DCR API to create DCR with LA workspace as destination and varying frequency.
I apologize for the inconvenience due to this issue.