Skip to main content
Sumo Logic

AWS Metadata (Tag) Source for Metrics

A Sumo Logic AWS Metadata Source allows you to collect tags from EC2 instances running on AWS. The metadata is automatically attached to host metrics collected from EC2 instances. For more information on adding a Host Metrics Source, see Host Metrics Source for Installed Collectors.

Only one AWS Metadata Source is required to collect tags from multiple hosts.

To set up an AWS Metadata Source for metrics:

  1. Grant permission for Sumo Logic to describe EC2 instances. We recommend the following custom policy.
   "Version": "2012-10-17",
   "Statement": [
           "Action": [
           "Effect": "Allow",
           "Resource": "*"
  1. In Sumo Logic select Manage Data > Collection > Collection (Manage > Collection in the classic UI). 
  2. Next to a Hosted Collector, click Add Source.
  3. Select AWS Metadata.
  4. Configure the following:
  • Name. Enter a name to display for the new Source.
  • Description. Optional description.
  • Regions. Select one or more Amazon regions.
  • Access Key ID. Enter the AWS Access Key ID number granted to Sumo Logic.
  • Secret Access Key. Enter the AWS Secret Access Key granted to Sumo Logic.
  1. Click Save.

After creating an AWS Metadata Source, it may take up to 10 minutes for EC2 tags to appear when querying for metrics.