I'm using Azure monitor add-on for Splunk to collect Azure Diagnostic, activity logs and metrics but this add on , as I understand , does not include collecting performance counters Data from VMs.
does someone knows how can I collect performance counters?
Thanks
This add-on should collect VM metrics as long as you tag the VM. For example, here is what I have tagged on a VM via the Azure Portal:
metrics: Percentage CPU, Network In, Network Out
I got the values for the metrics tag from this page -> https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-supported-metrics#micro... Note that some of these metrics are still in preview though.
Here is the search for the metric data:
sourcetype="amm:*" amm_resourceType="MICROSOFT.COMPUTE/VIRTUALMACHINES" | stats values(name.value)
Result: