Docs » Monitor services and hosts in Splunk Infrastructure Monitoring » Monitor Amazon Web Services

Monitor Amazon Web Services 🔗

Infrastructure Monitoring imports data, logs, and metadata, including tags and other properties, for the following AWS services.

To monitor AWS resources:

  1. Set up the Infrastructure Monitoring AWS integration. To learn more see Connect to AWS and send data to Splunk Observability Cloud.

  2. Next, check how to monitor AWS with Infrastructure Monitoring.

  3. Refer to the AWS official documentation for a list of the available AWS metrics and other data, or check the metadata Observablity Cloud provides.

About AWS data

See the AWS official documentation for a list of the available AWS metrics and other data, or see the metadatada Observability Cloud provides for AWS.

By default, Observability Cloud brings in data from all supported AWS services associated with your account, with certain limitations. To manage the amount of data to import, see Specify and limit the data and metadata to import.

AWS namespaces

Observability Cloud imports AWS namespace metadata using the dimension namespace. For most AWS services, the namespace name has the form "AWS/<NAME_OF_SERVICE>", such as “AWS/EC2” or “AWS/ELB”. To select a metric time series (MTS) for an AWS metric when the metric has the same name for more than one service, such as CPUUtilization, use the namespace dimension as a filter.

To control the amount of data you import, specify the namespaces you want to import as well as the data you want to import or exclude from each namespace. For more information, see Specify and limit the data and metadata to import.

Uniquely identifying AWS instances

The AWS instance ID is not a unique identifier. To uniquely identify an AWS instance, you need to concatenate the instanceId, region, and accountID dimension values, separated by underscores “_”, as in instanceId_region_accountID.

To construct the identifier manually, first get the specified values for each of your instances. For example, you can use the following cURL command:

curl http://<INSTANCE_URL>/latest/dynamic/instance-identity/document

Here’s an example JSON response from the cURL command:

   "devpayProductCodes" : null,
   "privateIp" : "",
   "availabilityZone" : "us-east-1a",
   "version" : "2010-08-31",
   "accountId" : "134183635603",
   "instanceId" : "i-a99f9802",
   "billingProducts" : null,
   "instanceType" : "c3.2xlarge",
   "pendingTime" : "2015-09-02T16:45:40Z",
   "imageId" : "ami-2ef44746",
   "kernelId" : null,
   "ramdiskId" : null,
   "architecture" : "x86_64",
   "region" : "us-east-1"

From the response, copy the values for instanceId, region, and accountId. Concatenate them with underscores as separators, and use the resulting string identifier as the value for the sfxdim\_AWSUniqueId dimension.

Organization metrics related to AWS

Infrastructure Monitoring also sends a set of metrics for AWS related to errors and service calls for your organization. These metrics all start with For more information, see View organization metrics for Splunk Observability Cloud.

Monitor AWS with the OpenTelemetry Collector

You can also use the Splunk Distribution of OpenTelemetry Collector to import AWS metrics and metadata. The Collector offers much more customization than you have available with the AWS integration, so you might want to use it when you want to see metrics at a finer resolution or when you need more control over the metrics you import.

You can only use the Collector when you have direct control over the applications installed on an AWS instance, such as AWS Elastic Compute Cloud (EC2). Some other AWS services require you to use Infrastructure Monitoring AWS integration and AWS CloudWatch. As a result, you might need to use both the AWS integration and OTel.

To learn how to install the Collector, see Overview of the Splunk Distribution of OpenTelemetry Collector.

Track OpenTelemetry enablement

You can track the degree of OpenTelemetry enablement in your AWS integrations by going to Data Management > AWS.

Amount of AWS entities with the Collector installed.

Select the OpenTelemetry Enabled button to see whether the Collector is installed on each AWS EC2 instance. This will help you identify the instances that still need to be instrumented. For instances that are successfully instrumented, you can see which version of the Collector is deployed.