From c1100bf3efa53a6162d12c879790cf6f2b56d4b7 Mon Sep 17 00:00:00 2001 From: Richa Talwar <102972658+ritalwar@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:54:26 +0530 Subject: [PATCH] Add TransactionType into allowedDimensions for Azure storage account. (#36413) * Add TransactionType into allowedDimensions for Azure storage account. --- CHANGELOG.next.asciidoc | 1 + x-pack/metricbeat/module/azure/storage/storage.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 01ee4bac3b8a..83eba3801efa 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -127,6 +127,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Add option in SQL module to execute queries for all dbs. {pull}35688[35688] - Add support for api_key authentication in elasticsearch module {pull}36274[36274] - Add remaining dimensions for azure storage account to make them available for tsdb enablement. {pull}36331[36331] +- Add missing 'TransactionType' dimension for Azure Storage Account. {pull}36413[36413] *Osquerybeat* diff --git a/x-pack/metricbeat/module/azure/storage/storage.go b/x-pack/metricbeat/module/azure/storage/storage.go index 317c417fdac1..2d2d1c503647 100644 --- a/x-pack/metricbeat/module/azure/storage/storage.go +++ b/x-pack/metricbeat/module/azure/storage/storage.go @@ -15,7 +15,7 @@ const defaultStorageAccountNamespace = "Microsoft.Storage/storageAccounts" var ( storageServiceNamespaces = []string{"/blobServices", "/tableServices", "/queueServices", "/fileServices"} - allowedDimensions = []string{"ResponseType", "ApiName", "GeoType", "Authentication", "BlobType", "Tier", "FileShare"} + allowedDimensions = []string{"ResponseType", "ApiName", "GeoType", "Authentication", "BlobType", "Tier", "FileShare", "TransactionType"} ) // init registers the MetricSet with the central registry as soon as the program