Available CloudFormation and Terraform templates
CloudFormation templates for AWS in Splunk Observability Cloud.
To create Splunk-managed Metric Streams resources you can either use CloudFormation or a Terraform template.
Use CloudFormation to connect to Splunk Observability Cloud
To use CloudFormation to connect to Splunk Observability Cloud follow these steps:
-
Install the AWS integration. Learn more at Connect AWS to Splunk Observability Cloud.
-
Decide which CloudFormation template to use depending on your deployment method (for example, per AWS region or per AWS account) and integration type. Note that templates are only available for Metric Sreams.
Even if you don’t intend to use all options you can safely deploy any CloudFormation template since unused infrastructure doesn’t generate costs.
-
Select the QuickLink for your chosen template. The QuickLink automatically opens the AWS Management Console in the last region you used, but you can select any other region in the AWS Management Console.
Prepopulated CloudFormation templates
These are the available prepopulated CloudFormation templates to create AWS Metric Streams resources:
Deployment type |
QuickLink |
Hosted template |
---|---|---|
Once per account (using StackSets) |
Deploy this QuickLink | |
In each region |
Deploy this QuickLink in every region |
To see other CloudFormation templates, see the AWS CloudFormation templates repository in GitHub.
Prepopulated CloudFormation templates compliant with FedRAMP
If you are in a FedRAMP-compliant environment use the following QuickLinks:
Deployment type |
QuickLink |
---|---|
Once per account (using StackSets) |
Deploy this QuickLink |
In each region |
Deploy this QuickLink in every region |
Custom CloudFormation templates
If none of the prepopulated CloudFormation templates meets your needs, you can create required resources using CloudFormation manually by following these steps:
-
Select the Hosted template link to download and modify the template you choose.
-
In the Quick Create stack dialog box for the selected template, enter the access token for your organization.
-
Select Create stack.
-
Use an API call to activate CloudWatch Metric Streams. To learn more, see Configure Metric Streams.
You can optionally use AWS CloudFormation StackSets to work simultaneously across multiple AWS regions after configuring the StackSet prerequisites for self-managed permissions. For more details, see Amazon Web Services documentation to configure StackSet prerequisites.
Use the Terraform template to connect to Splunk Observability Cloud
Alternatively, you can also deploy Kinesis Firehose with Terraform. See the Terraform Setup for Creating Kinesis Firehose to Send CloudWatch Metric Stream GitHub repository.
The provided Terraform template supports only Metric Streams and does not offer log support.
For more information on how to use Terraform to connect to AWS, see Connect your cloud services using Splunk Terraform.