How to use instance metadata from within Cloudwatch agent config

0

I would like to add a dimension to several metrics using "append_dimensions" into Cloudwatch agent config. As specified here, it says "If you specify a value that depends on Amazon EC2 metadata". How do I specify a value, of a specific instance tags from instance metadata, for example? Is it "append_dimensions": { "Environment": <how to reach an instance tag called Environment> }?

asked a year ago66 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions