Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Azure][Storage_account] Add dimension to the storage account datastream #7356

Merged
merged 11 commits into from
Oct 3, 2023
5 changes: 5 additions & 0 deletions packages/azure_metrics/changelog.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -194,5 +195,4 @@
type: keyword
example: "stretch"
description: >
OS codename, if any.

OS codename, if any.
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
external: ecs
- name: host
external: ecs
- name: agent.id
external: ecs
dimension: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fields:
- name: timegrain
type: keyword
dimension: true
description: >
The Azure metric timegrain

Expand All @@ -25,6 +26,7 @@

- name: id
type: keyword
dimension: true
description: >
The id of the resource

Expand All @@ -42,6 +44,7 @@

- name: namespace
type: keyword
dimension: true
description: >
The namespace selected

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ streams:
required: false
show_user: true
title: Storage Account
description: Collect Storage Account metrics
description: Collect Storage Account metrics
10 changes: 9 additions & 1 deletion packages/azure_metrics/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
10 changes: 9 additions & 1 deletion packages/azure_metrics/docs/storage_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions packages/azure_metrics/manifest.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -20,7 +20,7 @@ categories:
- observability
- azure
conditions:
kibana.version: "^8.9.0"
kibana.version: "^8.10.2"
vars:
- name: client_id
type: text
Expand Down