On October 30, 2022, all 1.2.x versions of the Splunk Data Stream Processor will reach its end of support date. See the Splunk Software Support Policy for details.
Connecting Amazon CloudWatch to your DSP pipeline
The Amazon CloudWatch connector will be deprecated soon. See the Release Notes for more information.
When creating a data pipeline in Splunk Data Stream Processor, you can connect to Amazon CloudWatch and use it as a data source. Amazon CloudWatch provides system-wide visibility into the resource utilization, application performance, and operational health of your Amazon Web Services (AWS) applications. You can get metrics data from Amazon CloudWatch into a pipeline, transform the data as needed, and then send the transformed data out from the pipeline to a destination of your choosing.
To connect to Amazon CloudWatch as a data source, you must complete the following tasks:
- Create a connection that allows DSP to access your Amazon CloudWatch data. See Create a DSP connection to Amazon CloudWatch.
- Create a pipeline that starts with the Amazon CloudWatch source function. See the Building a pipeline chapter in the Use the Data Stream Processor manual for instructions on how to build a data pipeline.
- Configure the Amazon CloudWatch source function to use your Amazon CloudWatch connection. See Get data from Amazon CloudWatch Metrics in the Function Reference manual.
When you activate the pipeline, the source function starts collecting metrics from Amazon CloudWatch. Each metric event is received into the pipeline as a record.
If your data fails to get into DSP, check the connection settings to make sure you have the correct access key ID and secret access key for your Identity and Access Management (IAM) user. DSP doesn't run a check to see if you enter valid credentials.
How Amazon CloudWatch data is collected
The source function collects data according to the job schedule that you specified in the connection settings. See Scheduled data collection jobs for more information, including a list of the limitations that apply to all scheduled data collection jobs.
The behavior of the Amazon CloudWatch connector might have an impact on the exact timing and scope of your data collection jobs. The first time a scheduled job runs, the connector collects metrics for only one time interval as defined by the Period parameter in the connection settings. For all following scheduled jobs, the connector collects metrics from the last execution up to the current time.
Connecting multiple data destinations to your DSP pipeline | Create a DSP connection to Amazon CloudWatch |
This documentation applies to the following versions of Splunk® Data Stream Processor: 1.2.1, 1.2.2-patch02, 1.2.4, 1.2.5, 1.3.0, 1.3.1
Feedback submitted, thanks!