DG-31408: Establish resources on your AWS account (3 pages, supertasky)

.

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. Choose a method to run the template on your account and region. The result is the same no matter which option you choose:
    Option Description
    CLI See Run the template on CLI.
    AWS Console See Run the template on AWS Console.
  5. Wait for the stack to show the CREATE_COMPLETE status.

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

Run the template on the CLI

.

After you create an input with a custom source type, set up resources in your AWS account to start the data flow. See Establish resources on your AWS account.
  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
Your template was successfully created.

Run the template on AWS Console

.

After you create an input with a custom source type, set up resources in your AWS account to start the data flow. See Establish resources on your AWS account .
  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. Update the following fields:
    Option Description
    Prepare template Select Template is ready.
    Specify template Select Upload a template file.
  5. Select Choose files, choose the previously downloaded template, and then select Next.
  6. Enter SplunkDMSqsS3-56cee6f8-1d1f-47a5-a8b6-c9947afc2a93as the name.
  7. Leave Parametersas No parameters, and then select Next.
  8. To specify tags, enter Key : SplunkDMVersion and enter Value : 1 , and then select Next.
  9. Review your entries, and check the box under Capabilities to provide your acknowledgment.
  10. Select Submit.
Your template was successfully created.