-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Investigate instance id collected from add_cloud_metadata processor #19758
Comments
Pinging @elastic/integrations-platforms (Team:Platforms) |
One of the main things we need to figure out from this research is: How are we going to correlate data coming from Filebeat/Metricbeat inside a cloud VM with the data we get from outside (AWS, Azure, GCP modules)?. This answer should make it to the inventory definition. Some possible options:
|
With #20171, For AWS case, Running
|
some info on the Azure side:
For example when running the system module inside the vm we get the following data:
so When running the azure module we get the following output:
In this case Few issues here:
|
Thanks @narph ! I think we should use
|
All metricsets are using the same mapping function so
I have already started work on that one, will link the PR here. |
Opened issue #20754 for the mapping of |
During the investigation, I found for GCP: |
Closing this issue because |
In Metricbeat, we can use
add_cloud_metadata
processor to enrich each event with instance metadata from the machine’s hosting provider. We also collect these metadata when running specific public cloud provider Metricbeat modules individually without theadd_cloud_metadata
processor.For example,
add_cloud_metadata
processor should collectcloud.instance.id
when we run Metricbeat on AWS EC2 instance. Metricbeataws ec2
metricset also collectscloud.instance.id
as a part of the event.Cloud metadata like
cloud.instance.id
will be the important field that connects events sent from inside the host and outside the host. This issue is to track the investigation work on verify if cloud metadata are collected properly usingadd_cloud_metadata
processor for different hosts/public cloud providers.aws ec2
metricset vs running system module withadd_cloud_metadata
processor on EC2 instancegooglecloud compute
metricset vs running system module withadd_cloud_metadata
processor on GCP VMazure compute_vm
metricset vs running system module withadd_cloud_metadata
processor on Azure VMcc @exekias @sorantis
The text was updated successfully, but these errors were encountered: