To configure an AWS Cost Explorer Source:
- On the Manage Data > Collection > Collection page, click Add Source next to a Hosted Collector.
- Select AWS Cost Explorer.
- Enter a Name for the Source in the Sumo Logic console. The Description is optional.
- For Source Category (Optional), enter any string to tag the output collected from the Source. Category metadata is stored in a searchable field called
- For Fields, click the +Add link to add custom log metadata. Define the fields you want to associate, each field needs a name (key) and value.
- A green circle with a check mark is shown when the field exists and is enabled in the Fields table schema.
- An orange triangle with an exclamation point is shown when the field doesn't exist, or is disabled, in the Fields table schema. In this case, an option to automatically add or enable the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo Logic that does not exist in the Fields schema or is disabled it is ignored, known as dropped.
It is preferable to add an account field (for the dashboards) and assign it a friendly name to identify the corresponding AWS account.
- For the AWS Access Key and AWS Secret Key, provide the IAM User access key and secret key you want to use to authenticate collection requests. Make sure your IAM user has the following IAM policy attached with it.
- For the Enable Regions field, provide the regions which need to be monitored for cost. The cost incurred across these regions will be fetched separately. The region list here includes all the standard AWS regions along with “global”. “Global” region includes services like Amazon CloudFront, Amazon Route 53, and Amazon IAM. If the field is left empty (default behavior), then data will be fetched from all the enabled regions of the respective AWS account. It is recommended to provide only the regions which are actively used and need to be monitored for cost. This will save the AWS cost for running this source on unused regions.
- For the Cost Type, provide supported cost types / MetricTypes. For details on the CostType, see Amazon's Understanding your AWS Cost Datasets: A Cheat Sheet.
- For Granularity, provide 2 supported granularities for each of the MetricTypes (or cost types):
- Daily Costs (Polled every 12h)
- Monthly Costs (Polled every day)
- Add Processing Rules.
- Click Submit when complete.