-
Notifications
You must be signed in to change notification settings - Fork 5k
Add host inventory metrics to ec2 metricset #20171
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
Conversation
|
Pinging @elastic/integrations-platforms (Team:Platforms) |
jsoriano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good.
| "bytes": 6644.4, | ||
| "packets": 44.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a counter? Why is it a decimal number?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jsoriano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some issues with documented fields, for the rest it is looking good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI gets green.
|
@kaiyan-sheng, @jsoriano, in the following configuration what does the |
It can be used to control if Full discussion and change to add this flag can be found here: #20490 |
|
ok, my expectation was that this field would either map or remove the respective ec2.* fields in favor of host.* fields. |
|
@sorantis Currently we are duplicating the fields so yes we have both |
|
Great! Thanks @kaiyan-sheng . |
* Add host inventory metrics to ec2 metricset * move host fields into metricbeat/_meta/fields.common.yml

What does this PR do?
This PR is to add proposed host common fields into
ec2metricset:Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.How to test this PR locally
./metricbeat modules enable awsmodules.d/aws.ymlto only includeec2metricset:ec2metricset and includes fields listed above.(
host.nameonly equals to EC2 instance name when EC2 instance name is available.)Event Example