-
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
[Metricbeat] Add tags for aws ec2 #12372
Conversation
I might found some other useful apis to do this. Will put this PR under |
I will keep this PR open for a little bit because the code added into |
This pr is to add tags into metrics from aws module for ec2.
For ec2, tags are already returned from
DescribeInstances
api call. With this change, tags will be a part of the metrics reported by ec2 metricset:How to test it?
Start an AWS EC2 instance and add tags for it. Then after this instance is in running state, start metricbeat aws module with ec2 metricset enabled. Then you should be able to see tags being collected and stored under
aws.tags.*
.