DG-31408: Establish resources on your AWS account (1 page, optional attribute on steps)

.

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 either the CLI or AWS Console to achieve the same result.
Create a data input with a custom source type for Amazon S3. See <link to use_custom_source_type_s3.dita>.
  1. Log into Splunk Web???
  2. On the Data Management page, select a data input name, and then select the AWS Setup Details tab.
  3. Select IAM Role Template to download the CloudFormation stack template.
  4. Run the template on your account and region using either the CLI in step 5 or the AWS console in step 6 . The result is the same no matter which option you choose.
  5. Optional: Run the template in the CLI.
    1. Open a Linux shell that supports AWS CLI version 2, such as bash, csh, or tcsh, to run commands in Linux or MacOS.
    2. Prepare the terminal to use the AWS credentials that allow you to run the following CLI commands. You can go to Data Input Details and select Refresh to see the status at any time.
    3. From the directory where you saved the latest data ingestion template, run the following commands to apply the downloaded template and verify that the stack creation is complete:
      CODE
      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
      CODE
      ws cloudformation describe-stacks --stack-name SplunkDMSqsS3-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93 --region us-east-1
  6. Optional: Run the template in AWS Console.
    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 Specify Template, select Upload a template file.
    5. Select Choose file , select the previously downloaded template, and then select Next.
    6. Enter SplunkDMSqsS3-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93as the stack name.
    7. Leave Parameters set to No parameters, and then select Next.
    8. To specify tags, enter Key : SplunkDMVersion and enter Value : 1, and then selectNext.
    9. Review your entries, then check the box under Capabilities to provide your acknowledgment.
    10. Select Submit.
  7. Wait for the stack to show the CREATE_COMPLETE status.
On the Data Management page, you can check if data is being collected.