diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 303b2a715fe..9f045aedb5d 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -345,6 +345,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Accept text/plain type by default for prometheus client scraping. {pull}24622[24622] - Use working set bytes to calculate the pod memory limit pct when memory usage is not reported (ie. Windows pods). {pull}25428[25428] - Fix copy-paste error in libbeat docs. {pull}25448[25448] +- Fix azure billing dashboard. {pull}25554[25554] *Packetbeat* diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index 7460d3f8243..0b5977cea93 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -5176,6 +5176,16 @@ The resource specified The type of the resource +type: keyword + +-- + +*`azure.resource.name`*:: ++ +-- +The name of the resource + + type: keyword -- diff --git a/x-pack/metricbeat/module/azure/_meta/fields.yml b/x-pack/metricbeat/module/azure/_meta/fields.yml index a6476fcc957..8e96461286b 100644 --- a/x-pack/metricbeat/module/azure/_meta/fields.yml +++ b/x-pack/metricbeat/module/azure/_meta/fields.yml @@ -21,6 +21,10 @@ type: keyword description: > The type of the resource + - name: name + type: keyword + description: > + The name of the resource - name: group type: keyword description: > diff --git a/x-pack/metricbeat/module/azure/_meta/kibana/7/dashboard/Metricbeat-azure-storage-overview.json b/x-pack/metricbeat/module/azure/_meta/kibana/7/dashboard/Metricbeat-azure-storage-overview.json index 0ad7aa93d44..54724b58089 100644 --- a/x-pack/metricbeat/module/azure/_meta/kibana/7/dashboard/Metricbeat-azure-storage-overview.json +++ b/x-pack/metricbeat/module/azure/_meta/kibana/7/dashboard/Metricbeat-azure-storage-overview.json @@ -494,7 +494,7 @@ "line_width": 2, "metrics": [ { - "field": "azure.storage.usedcapacity.avg", + "field": "azure.storage.used_capacity.avg", "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", "type": "avg" } @@ -1138,7 +1138,7 @@ "line_width": 2, "metrics": [ { - "field": "azure.storage.usedcapacity.avg", + "field": "azure.storage.used_capacity.avg", "id": "61fb4192-32e4-11ea-b9f8-4d0b340ad993", "type": "avg" } diff --git a/x-pack/metricbeat/module/azure/billing/data.go b/x-pack/metricbeat/module/azure/billing/data.go index 9b84d9d20ae..091a2751c2b 100644 --- a/x-pack/metricbeat/module/azure/billing/data.go +++ b/x-pack/metricbeat/module/azure/billing/data.go @@ -26,6 +26,7 @@ func EventsMapping(results Usage) []mb.Event { "resource": common.MapStr{ "type": usageDetail.ConsumedService, "group": getResourceGroupFromId(*usageDetail.InstanceID), + "name": usageDetail.InstanceName, }, "subscription_id": usageDetail.SubscriptionGUID, }, diff --git a/x-pack/metricbeat/module/azure/fields.go b/x-pack/metricbeat/module/azure/fields.go index 6a308a5d2ae..cf23987915d 100644 --- a/x-pack/metricbeat/module/azure/fields.go +++ b/x-pack/metricbeat/module/azure/fields.go @@ -19,5 +19,5 @@ func init() { // AssetAzure returns asset data. // This is the base64 encoded gzipped contents of module/azure. func AssetAzure() string { - return "eJzkmU1v47YTxu/5FIMcA2w+gA9/IP+2hz0ULfpyJsbUWGEjkVxy6Kz76QuKkixLsizbspugOSywenme30MOJyLzBd5otwL8Ozh6AGDFBa3g8SX+//EBICMvnbKsjF7B/x4AID0LpclCEV9xVBB6WkGODwAbRUXmV9WDX0BjSXvx+MM7Gx91Jtj6yojDoUxXilVJuUOl2zuN5Bvt3o3LOtdHhdPPH68ELykGsVNyRLdxdORNcJIGht0MM+waHfCWpNoo6qL24x5E3lk6uHE88QmMBiW+DmYD3MEate5HXMC7HYahdhsYc//8NGpr1n+R5N6tdFFMgXUeESVaq3ReP//49HheiFQ2bYwKdlA08V9vcaRqzi7TVgo8FSS5UzeNmw/rVkKo7HrPriB8/XFgiNYWSuJifh29MbtMlaS9MvqwLI6UxIlymFsKE8gHnaMDNwBPj/jnp7O5N4XBIzcvpf45wYAjDk5TNsRFa4XSXuWv7E+2u7bt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