AWS Bedrock logging with AWS Lambda

Created:
February 11, 2025
Updated:
February 14, 2025

The AWS Bedrock logging with AWS Lambda integration automates the collection and analysis of logs from your AWS Bedrock.

  1. Navigate to Integrations in the FireTail platform. Select the Logging Integration tab.
  2. Click AWS Bedrock logging with AWS Lambda.
  3. In the Name of Integration field, enter a name for the integration.
  4. Select the AWS Region to deploy the integration to.
  5. Select an application from the dropdown, or click Create to create a new application. This is the application that will be associated with the integration. Learn more about applications here.
  6. Under App Token, click Create to create a token. Enter a name for the token. Click Submit. Copy the app token. This is needed when the template is launched.
  7. Log in to AWS.

You can choose to set up the integration using a CloudFormation deployment or select the Manual Deployment heading. Select the heading in the integration form.

Deployment with CloudFormation

  1. Click one of the following Launch CloudFormation buttons in the form:
    • Launch CloudFormation For S3 Based Logging
    • Launch CloudFormation For CloudWatch Based Logging
  2. Paste the generated app token into the FTAPPKEY field.
  3. Check all the acknowledgment boxes to allow AWS CloudFormation to create IAM resources. Click Create Stack.
  4. When the CloudFormation Stack has a status of CREATE_COMPLETE, return to the integration form in the FireTail platform and click Submit.

Manual deployment

  1. In the AWS console, switch your AWS Region to the region of your API Gateway resource.
  2. Download the required template:
  3. In the AWS Console go to the CloudFormation page.
  4. Click Create Stack and With new resources (standard).

5. Under Template source select Upload a template file and click Choose file.

6. Select the downloaded CloudFormation template and click Next.

7. Enter a unique name in the Stack name field.

8. Paste the generated app token into the FTAPPKEY field. Click Next.

9. Check all the acknowledgment boxes to allow AWS CloudFormation to create IAM resources. Click Create Stack.

10. In the review section, click Submit.

11. When the CloudFormation Stack has a status of CREATE_COMPLETE, return to the integration form in the FireTail platform and click Submit.