The AWS Bedrock logging with AWS Lambda integration automates the collection and analysis of logs from your AWS Bedrock.
Navigate to Integrations in the FireTail platform. Select the Logging Integration tab.
Click AWS Bedrock logging with AWS Lambda.
In the Name of Integration field, enter a name for the integration.
Select the AWS Region to deploy the integration to.
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.
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.
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
Click one of the following Launch CloudFormation buttons in the form:
Launch CloudFormation For S3 Based Logging
Launch CloudFormation For CloudWatch Based Logging
Paste the generated app token into the FTAPPKEY field.
Check all the acknowledgment boxes to allow AWS CloudFormation to create IAM resources. Click Create Stack.
When the CloudFormation Stack has a status of CREATE_COMPLETE, return to the integration form in the FireTail platform and click Submit.
Manual deployment
In the AWS console, switch your AWS Region to the region of your API Gateway resource.