diff --git a/packages/azure_metrics/changelog.yml b/packages/azure_metrics/changelog.yml index dc40e1598d4..b3fc67de0aa 100644 --- a/packages/azure_metrics/changelog.yml +++ b/packages/azure_metrics/changelog.yml @@ -1,3 +1,8 @@ +- version: "1.1.0" + changes: + - description: Add dimensions to the storage account datastream + type: enhancement + link: https://github.com/elastic/integrations/pull/7356 - version: "1.0.43" changes: - description: Migrate File Storage Overview dashboard to lens. diff --git a/packages/azure_metrics/data_stream/storage_account/fields/agent.yml b/packages/azure_metrics/data_stream/storage_account/fields/agent.yml index da4e652c53b..61a93a5e201 100644 --- a/packages/azure_metrics/data_stream/storage_account/fields/agent.yml +++ b/packages/azure_metrics/data_stream/storage_account/fields/agent.yml @@ -45,6 +45,7 @@ - name: region level: extended type: keyword + dimension: true ignore_above: 1024 description: Region in which this host is running. example: us-east-1 @@ -194,5 +195,4 @@ type: keyword example: "stretch" description: > - OS codename, if any. - + OS codename, if any. \ No newline at end of file diff --git a/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml b/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml index c9ba9972270..0ef9d19c59d 100644 --- a/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml +++ b/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml @@ -15,3 +15,6 @@ external: ecs - name: host external: ecs +- name: agent.id + external: ecs + dimension: true diff --git a/packages/azure_metrics/data_stream/storage_account/fields/package-fields.yml b/packages/azure_metrics/data_stream/storage_account/fields/package-fields.yml index 28fa99283bd..1ce4abf333b 100644 --- a/packages/azure_metrics/data_stream/storage_account/fields/package-fields.yml +++ b/packages/azure_metrics/data_stream/storage_account/fields/package-fields.yml @@ -4,6 +4,7 @@ fields: - name: timegrain type: keyword + dimension: true description: > The Azure metric timegrain @@ -25,6 +26,7 @@ - name: id type: keyword + dimension: true description: > The id of the resource @@ -42,6 +44,7 @@ - name: namespace type: keyword + dimension: true description: > The namespace selected @@ -55,12 +58,41 @@ description: > The application ID - - name: dimensions.* - type: object - object_type: keyword - object_type_mapping_type: "*" - description: > - Azure metric dimensions. + - name: dimensions + type: group + fields: + - name: response_type + type: keyword + dimension: true + description: Transaction response type like Success, ClientOtherError, etc. + - name: api_name + type: keyword + dimension: true + description: The name of operation. + - name: geo_type + type: keyword + dimension: true + description: Transaction from Primary or Secondary cluster. The available values include Primary and Secondary. + - name: authentication + type: keyword + dimension: true + description: Authentication type used in transactions like OAuth. + - name: blob_type + type: keyword + dimension: true + description: Specifies the type of a blob. + - name: tier + type: keyword + dimension: true + description: Specifies access tier. + - name: file_share + type: keyword + dimension: true + description: Specifies file share. + - name: transaction_type + type: keyword + dimension: true + description: Type of transaction. The available values include User and System. - name: metrics.*.* type: object diff --git a/packages/azure_metrics/data_stream/storage_account/manifest.yml b/packages/azure_metrics/data_stream/storage_account/manifest.yml index 36b843448ff..8479f0b3bed 100644 --- a/packages/azure_metrics/data_stream/storage_account/manifest.yml +++ b/packages/azure_metrics/data_stream/storage_account/manifest.yml @@ -31,4 +31,4 @@ streams: required: false show_user: true title: Storage Account - description: Collect Storage Account metrics + description: Collect Storage Account metrics \ No newline at end of file diff --git a/packages/azure_metrics/docs/README.md b/packages/azure_metrics/docs/README.md index 282fc407ec3..782da73b93d 100644 --- a/packages/azure_metrics/docs/README.md +++ b/packages/azure_metrics/docs/README.md @@ -287,8 +287,16 @@ so the `period` for `storage_account` should be `300s` or multiples of `300s`. | Field | Description | Type | |---|---|---| | @timestamp | Event timestamp. | date | +| agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword | | azure.application_id | The application ID | keyword | -| azure.dimensions.\* | Azure metric dimensions. | object | +| azure.dimensions.api_name | The name of operation. | keyword | +| azure.dimensions.authentication | Authentication type used in transactions like OAuth. | keyword | +| azure.dimensions.blob_type | Specifies the type of a blob. | keyword | +| azure.dimensions.file_share | Specifies file share. | keyword | +| azure.dimensions.geo_type | Transaction from Primary or Secondary cluster. The available values include Primary and Secondary. | keyword | +| azure.dimensions.response_type | Transaction response type like Success, ClientOtherError, etc. | keyword | +| azure.dimensions.tier | Specifies access tier. | keyword | +| azure.dimensions.transaction_type | Type of transaction. The available values include User and System. | keyword | | azure.metrics.\*.\* | Metrics returned. | object | | azure.namespace | The namespace selected | keyword | | azure.resource.group | The resource group | keyword | diff --git a/packages/azure_metrics/docs/storage_account.md b/packages/azure_metrics/docs/storage_account.md index 8c80240d902..e6863dfa7f0 100644 --- a/packages/azure_metrics/docs/storage_account.md +++ b/packages/azure_metrics/docs/storage_account.md @@ -73,8 +73,16 @@ Authentication: we are handling authentication on our side (creating/renewing th | Field | Description | Type | |---|---|---| | @timestamp | Event timestamp. | date | +| agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword | | azure.application_id | The application ID | keyword | -| azure.dimensions.\* | Azure metric dimensions. | object | +| azure.dimensions.api_name | The name of operation. | keyword | +| azure.dimensions.authentication | Authentication type used in transactions like OAuth. | keyword | +| azure.dimensions.blob_type | Specifies the type of a blob. | keyword | +| azure.dimensions.file_share | Specifies file share. | keyword | +| azure.dimensions.geo_type | Transaction from Primary or Secondary cluster. The available values include Primary and Secondary. | keyword | +| azure.dimensions.response_type | Transaction response type like Success, ClientOtherError, etc. | keyword | +| azure.dimensions.tier | Specifies access tier. | keyword | +| azure.dimensions.transaction_type | Type of transaction. The available values include User and System. | keyword | | azure.metrics.\*.\* | Metrics returned. | object | | azure.namespace | The namespace selected | keyword | | azure.resource.group | The resource group | keyword | diff --git a/packages/azure_metrics/manifest.yml b/packages/azure_metrics/manifest.yml index b646999a37d..1480a55c984 100644 --- a/packages/azure_metrics/manifest.yml +++ b/packages/azure_metrics/manifest.yml @@ -1,6 +1,6 @@ name: azure_metrics title: Azure Resource Metrics -version: 1.0.43 +version: 1.1.0 release: ga description: Collect metrics from Azure resources with Elastic Agent. type: integration @@ -20,7 +20,7 @@ categories: - observability - azure conditions: - kibana.version: "^8.9.0" + kibana.version: "^8.10.2" vars: - name: client_id type: text