Bedrock knowledge bases should deliver ingestion logs

Description

Amazon Bedrock vector knowledge bases should deliver their ingestion logs to a durable destination through CloudWatch Logs vended log delivery. Ingestion logs are the only record of which documents were added, updated, deleted, or failed to index on each sync, and are needed to detect poisoned or silently dropped content. A knowledge base passes when an APPLICATION_LOGS delivery source is bound to its ARN and paired with a delivery to a non-empty destination in the same account and Region. Knowledge bases with a structured data store (SQL) or a Kendra GenAI index (KENDRA) are skipped, because AWS does not support log delivery for them, and a knowledge base whose type is not collected fails.

Remediation

To deliver ingestion logs, follow Monitor knowledge bases using CloudWatch Logs:

  1. Create a delivery source for the knowledge base with the APPLICATION_LOGS log type.
  2. Register a CloudWatch Logs, Amazon S3, or Amazon Data Firehose delivery destination.
  3. Pair the delivery source and destination with a delivery.

For the underlying API calls, see PutDeliverySource.

References