Establish resources on your AWS account

Set up resources in your AWS account to initiate data flow using AWS CLI or AWS Console.

After you create an input with a custom source type, you can set up resources in your AWS account to start the data flow. You can use the AWS CLI or AWS Console.
You created data input with a custom source type for Amazon S3. For more information, see Create input for custom source types for Amazon S3
  1. On the Data Management page, select a data input name, then select the AWS Setup Details tab.
  2. Select IAM Role Template to download the CloudFormation stack template.
  3. Choose a method to run the template on your account and region. You can use either CLI or AWS Console, the result will be the same.
  4. Steps in CLI (if you decided to run the template in CLI, you don't have to complete step 5):
    1. Open a Linux shell that supports AWS CLI version 2 (such as bash, csh, or tcsh), in order to run commands in Linux or MacOS. Prepare the terminal to use the AWS credentials that allow you to run the following CLI command. You can go to Data Input Details and select Refresh to see the status at any time.
    2. From the directory where you saved the latest data ingestion template, run the following CLI commands to apply the downloaded template and verify that the stack creation is complete. Wait for the stack to have the CREATE_COMPLETE status, which indicates successful creation.
      aws cloudformation create-stack --stack-name SplunkDMSqsS3-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93 --region us-east-1 --template-body file://splunkdm-s3-input-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93-1.json --tags Key=SplunkDMVersion,Value=1 --capabilities CAPABILITY_NAMED_IAM 
      ws cloudformation describe-stacks --stack-name SplunkDMSqsS3-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93 --region us-east-1
  5. Steps in AWS Console (omit this step if you have already run the template in CLI in step 4):
    1. Log into your AWS account and go to CloudFormation Service.
    2. Select the us-east-1 region.
    3. Select Create stack, then from the drop-down list select With new resources.
    4. Under Prepare template, select Template is ready.
    5. Under Specify Template, select Upload a template file.
    6. Select Choose file and select the previously downloaded template.
    7. Select Next.
    8. Enter the stack name: SplunkDMSqsS3-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93
    9. Leave Parameters as No parameters.
    10. Select Next.
    11. To specify tags, enter Key : SplunkDMVersion and enter Value : 1.
    12. Select Next.
    13. Review your entries.
    14. Check the box under Capabilities to provide your acknowledgment.
    15. Select Submit. Wait for the stack to have the CREATE_COMPLETE status, which indicates successful creation.

On the Data Management page, you can check if data is being collected.