Add host inventory metrics to ec2 metricset#20171
Add host inventory metrics to ec2 metricset#20171kaiyan-sheng merged 14 commits intoelastic:masterfrom kaiyan-sheng:add_host_data
Conversation
|
Pinging @elastic/integrations-platforms (Team:Platforms) |
| "bytes": 6644.4, | ||
| "packets": 44.6 |
There was a problem hiding this comment.
Is this a counter? Why is it a decimal number?
jsoriano
left a comment
There was a problem hiding this comment.
There are some issues with documented fields, for the rest it is looking good!
|
@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