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

[AWS] Add dimensions to EC2 data stream. #7487

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/aws/changelog.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions packages/aws/data_stream/ec2_metrics/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: cloud
- external: ecs
name: cloud.account.id
dimension: true
- external: ecs
name: cloud.account.name
- external: ecs
Expand All @@ -14,6 +15,7 @@
name: cloud.provider
- external: ecs
name: cloud.region
dimension: true
- external: ecs
name: ecs.version
- external: ecs
Expand All @@ -36,3 +38,6 @@
name: host.network.ingress.bytes
- external: ecs
name: host.network.ingress.packets
- name: agent.id
external: ecs
dimension: true
4 changes: 4 additions & 0 deletions packages/aws/data_stream/ec2_metrics/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions packages/aws/docs/ec2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion packages/aws/manifest.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down