Query regarding azure monitor_service.go based logging in metricbeat

Hi @Kaiyan_Sheng / @MarianaD ,

Hope you both are doing well.

While checking metricbeat logs, i observed the following line:

2021-11-22T06:27:25.307-0500 WARN [azure monitor service] azure/monitor_service.go:130 Charges amounted to 180 are being applied while retrieving the metric values from the resource /subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/<resource_details>

As checked on github, the monitor_service.go file is associated with Billing API, but here we have disabled billing module as it won't work with Pay as you go subscriptions.

So, what cost does the line refer to? Kindly help get some clarity on the same.

MetricBeat Version: 7.15.0

Hope to hear back from you soon.

Hi There,

Just following up on the same. Could you please help out here?

hi @adhiraj-g , sorry for the delay, the costs are coming from the Azure metrics API, more info here Azure module | Metricbeat Reference [7.15] | Elastic. The amount charged in the logs is listed together with the metric values , unfortunately the unit/currency is not ( Metrics - List - REST API (Azure Monitor) | Microsoft Docs under cost).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.