diff --git a/packages/aws/changelog.yml b/packages/aws/changelog.yml index 94a1acee743..002cc24e024 100644 --- a/packages/aws/changelog.yml +++ b/packages/aws/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.53.4" + changes: + - description: Add dimension fields to EC2 data stream. + type: enhancement + link: https://github.com/elastic/integrations/pull/7487 - version: "1.53.3" changes: - description: Add missing fields definition for ec2 diff --git a/packages/aws/data_stream/ec2_metrics/fields/ecs.yml b/packages/aws/data_stream/ec2_metrics/fields/ecs.yml index a70d08feee0..3126856d0a4 100644 --- a/packages/aws/data_stream/ec2_metrics/fields/ecs.yml +++ b/packages/aws/data_stream/ec2_metrics/fields/ecs.yml @@ -2,6 +2,7 @@ name: cloud - external: ecs name: cloud.account.id + dimension: true - external: ecs name: cloud.account.name - external: ecs @@ -14,6 +15,7 @@ name: cloud.provider - external: ecs name: cloud.region + dimension: true - external: ecs name: ecs.version - external: ecs @@ -36,3 +38,6 @@ name: host.network.ingress.bytes - external: ecs name: host.network.ingress.packets +- name: agent.id + external: ecs + dimension: true diff --git a/packages/aws/data_stream/ec2_metrics/fields/fields.yml b/packages/aws/data_stream/ec2_metrics/fields/fields.yml index 9877fbc67cc..91cd61ff5b1 100644 --- a/packages/aws/data_stream/ec2_metrics/fields/fields.yml +++ b/packages/aws/data_stream/ec2_metrics/fields/fields.yml @@ -6,15 +6,19 @@ fields: - name: AutoScalingGroupName type: keyword + dimension: true description: An Auto Scaling group is a collection of instances you define if you're using Auto Scaling. - name: ImageId type: keyword + dimension: true description: This dimension filters the data you request for all instances running this Amazon EC2 Amazon Machine Image (AMI) - name: InstanceId type: keyword + dimension: true description: Amazon EC2 instance ID - name: InstanceType type: keyword + dimension: true description: This dimension filters the data you request for all instances running with this specified instance type. - name: ec2 type: group diff --git a/packages/aws/docs/ec2.md b/packages/aws/docs/ec2.md index df31634f3b4..e71f976e571 100644 --- a/packages/aws/docs/ec2.md +++ b/packages/aws/docs/ec2.md @@ -326,6 +326,7 @@ An example event for `ec2` looks as following: | 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 | | aws.cloudwatch.namespace | The namespace specified when query cloudwatch api. | keyword | | aws.dimensions.AutoScalingGroupName | An Auto Scaling group is a collection of instances you define if you're using Auto Scaling. | keyword | | aws.dimensions.ImageId | This dimension filters the data you request for all instances running this Amazon EC2 Amazon Machine Image (AMI) | keyword | diff --git a/packages/aws/manifest.yml b/packages/aws/manifest.yml index da2a897f22f..2ac7632e2bb 100644 --- a/packages/aws/manifest.yml +++ b/packages/aws/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: aws title: AWS -version: 1.53.3 +version: 1.53.4 license: basic description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent. type: integration