{"slug": "build-an-enterprise-observability-solution-for-amazon-quick", "title": "Build an enterprise observability solution for Amazon Quick", "summary": "Amazon Quick has released a new enterprise observability solution that consolidates user activity, satisfaction, and cost data from Amazon CloudWatch and AWS CloudTrail into a centralized data lake on Amazon S3. The solution enables administrators to query usage metrics through Amazon Athena, visualize them in Quick Sight dashboards, and interact with the data via a custom chat agent. This addresses the challenge of tracking adoption and governance across large-scale Amazon Quick deployments without relying on scattered, hard-to-analyze logs.", "body_md": "[Artificial Intelligence](https://aws.amazon.com/blogs/machine-learning/)\n\n# Build an enterprise observability solution for Amazon Quick\n\nWhen hundreds to thousands of users are onboarded to an enterprise AI platform, business leaders and platform owners need visibility into who is using the platform, whether users are satisfied with the answers they receive, and which capabilities are driving the most engagement. Without a centralized observability solution, this data is scattered across multiple AWS services and difficult to analyze at scale.\n\n[Amazon Quick](https://aws.amazon.com/quick/) is a generative AI-powered platform that brings together [Spaces](https://aws.amazon.com/quick/spaces/), [Chat agents](https://aws.amazon.com/quick/chat-agents/), [Flows](https://aws.amazon.com/quick/flows/), [Automate](https://aws.amazon.com/quick/automate/), [Research](https://aws.amazon.com/quick/research/), and [Amazon Quick Sight](https://aws.amazon.com/quick/quicksight/) business intelligence capabilities in one place. As organizations scale their Amazon Quick deployments, they need a reliable way to track adoption, measure satisfaction, monitor costs, and audit governance from a single pane of glass.\n\nIn this post, we show you how to deploy a solution that consolidates the Amazon Quick operational data from [Amazon CloudWatch](https://aws.amazon.com/cloudwatch/) [vended logs](https://docs.aws.amazon.com/quick/latest/userguide/monitoring-quicksuite-chat-feedback-cloudwatch.html) and [AWS CloudTrail](https://aws.amazon.com/cloudtrail/) [events](https://docs.aws.amazon.com/quick/latest/userguide/incident-response-logging-and-monitoring-qs.html) into a secured data lake in [Amazon Simple Storage Service (Amazon S3)](https://aws.amazon.com/s3/) that can be queried using [Amazon Athena](https://aws.amazon.com/athena/), a [Quick Sight dashboard](https://docs.aws.amazon.com/quick/latest/userguide/using-dashboards.html), and a [Quick custom chat agent](https://aws.amazon.com/quick/chat-agents/).\n\n## Solution overview\n\nAmazon Quick publishes usage and interaction data through the vended logs to deliver chat conversations, user feedback, agent/research hours usage, and index storage usage in Amazon Quick. Amazon Quick is integrated with AWS CloudTrail, which provides a record of actions taken by a user, a role, or an AWS service in Amazon Quick.\n\nFigure 1: Amazon Quick enterprise observability solution architecture\n\nThe workflow consists of the following steps:\n\n- Business users interact with Amazon Quick.\n- Amazon Quick publishes the interaction logs to Amazon CloudWatch vended logs. You can protect these logs with\n[data protection policies](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html)to mask sensitive data, such as credentials (private keys, AWS secret access keys), financial information, personally identifiable information, protected health information, and device identifiers. - CloudWatch\n[subscription filters](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html)forward the log events to[Amazon Data Firehose](https://aws.amazon.com/firehose/)delivery streams. The Firehose delivery streams transform the data using an[AWS Lambda](https://aws.amazon.com/lambda/)function and write it to a data lake in Amazon S3. - An\n[Amazon EventBridge](https://aws.amazon.com/eventbridge/)rule routes Amazon Quick API calls from AWS CloudTrail and sends them to a dedicated Firehose delivery stream. The Firehose delivery stream transforms the data using an AWS Lambda function and writes it to the data lake. [AWS Glue Data Catalog](https://docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html)maintains data lake metadata for Amazon Athena external[tables](https://docs.aws.amazon.com/athena/latest/ug/creating-tables.html)and analytical[views](https://docs.aws.amazon.com/athena/latest/ug/views.html).- Administrators can use Amazon Athena to query the data.\n[AWS Lake Formation](https://aws.amazon.com/lake-formation/)provides fine-grained data lake permissions at the table and column level. - Business leaders and stakeholders can see the data in a Quick Sight dashboard for interactive exploration of adoption, satisfaction, cost, and governance data. They can also use a Quick custom chat agent with natural language questions to receive instant visual answers.\n\nThe solution encrypts the data at rest using a customer managed [AWS Key Management System (AWS KMS)](https://aws.amazon.com/kms/) key with automatic key rotation. The solution encrypts the Amazon CloudWatch Log Groups, Amazon Data Firehose delivery streams, AWS Lambda function environment variables, and Amazon S3 data lake. This provides a unified encryption strategy across the entire pipeline.\n\n## Prerequisites\n\nTo deploy this solution, you need:\n\n- An\n[AWS account](https://docs.aws.amazon.com/accounts/latest/reference/getting-started.html#getting-started-step1)with[Amazon Quick subscription](https://docs.aws.amazon.com/quick/latest/userguide/signing-up.html) - Python 3.9+\n[Node.js](https://nodejs.org/en/download)20+[AWS Cloud Development Kit (AWS CDK)](https://docs.aws.amazon.com/cdk/v2/guide/getting-started.html)[AWS Command Line Interface (AWS CLI) V2](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)- An\n[AWS CLI profile](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html)with[IAM permissions](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html)to deploy the solution, including creating AWS Identity and Access Management (IAM) roles, AWS KMS key, Amazon CloudWatch Log Groups, an Amazon S3 bucket, AWS Lambda functions, Amazon Data Firehose delivery streams, Amazon EventBridge rules, and[AWS CloudFormation](https://aws.amazon.com/cloudformation/)stacks. If you choose AWS Lake Formation for data catalog access control, the deploying identity must be a Lake Formation administrator.\n\n## Deploy the solution\n\nThe deployment is organized into steps, each building on the previous one. You can stop after any step and have a working solution at that level. Settings like the AWS CLI profile, resource prefix, database name, and workgroup name are saved locally after each step, so subsequent steps auto-populate them.\n\n### Clone the repository\n\nClone the [GitHub repository](https://github.com/aws-samples/sample-quick-observability-platform) and navigate to the project directory:\n\n### Set up vended logs\n\nDeploy the Amazon CloudWatch Logs infrastructure:\n\nThe script auto-detects your Quick subscription region, creates the AWS KMS key, and configures vended logs delivery for chat, feedback, agent hours, and index usage data.\n\nThe deployment prompts for CloudWatch log groups to create *(/aws/vendedlogs/quick/chat, /aws/vendedlogs/quick/feedback, /aws/vendedlogs/quick/agent-hours, /aws/vendedlogs/quick/index-usage*). It also prompts for a prefix (*quickobserve*) for other AWS resources to be created.\n\nChat message content (user_message and system_text_message) might contain sensitive or regulated data from connected enterprise sources such as databases, Amazon S3 buckets, or third-party integrations. Before enabling message content logging, review your organization’s data privacy, compliance, and data retention policies. The chat message content is omitted by default so that no user conversation data reaches CloudWatch Logs. The deployment prompts you if you want to log the chat message content.\n\nVerify the CloudWatch vended log groups in the AWS console:\n\n### Deploy data pipeline\n\nUse the following command to deploy the pipeline:\n\nThis deploys Amazon S3 data lake, Amazon CloudWatch Logs subscription filters, Amazon Data Firehose delivery streams, AWS Lambda functions and an Amazon EventBridge rule.\n\nYou can see the logs data in Amazon S3 data lake (*quickobserve-pipeline-datalake-<account-id>**).*\n\n### Set up data catalog\n\nUse the following command to run the data catalog setup:\n\nThe script prompts for a database name (*quickobserve_db*) and verifies that it doesn’t already exist in the AWS Glue Data Catalog, preventing accidental changes to tables belonging to other workloads. It then prompts you to choose how data lake access is managed:\n\n- Lake Formation (default) – Registers the data lake location and grants fine-grained permissions to the Amazon Quick service role at the table and column level. When message content logging is enabled, column-level exclusion prevents message content from flowing into the Quick Sight dashboard and topic.\n- IAM policies – Skips AWS Lake Formation setup and relies on IAM policies for access control. Use this if your account does not use Lake Formation.\n\nThe script creates an AWS Glue Data Catalog database, Athena tables and views for CloudWatch vended logs and CloudTrail events.You can see the data catalog in AWS Glue:\n\nVerify data is flowing by running the following queries in Amazon Athena query editor:\n\n### Deploy Quick Sight dashboard\n\nDeploy the Quick Sight dashboard:\n\nThis deploys Quick Sight resources: a custom [theme](https://docs.aws.amazon.com/quick/latest/userguide/themes-in-quicksight.html), a [data source](https://docs.aws.amazon.com/quick/latest/userguide/supported-data-sources.html), [datasets](https://docs.aws.amazon.com/quick/latest/userguide/working-with-datasets.html) with daily refresh schedules, an [analysis](https://docs.aws.amazon.com/quick/latest/userguide/working-with-an-analysis.html), and a [dashboard](https://docs.aws.amazon.com/quick/latest/userguide/creating-a-dashboard.html) for viewing Amazon Quick observability metrics.\n\nYou can see the observability metrics in Quick Sight dashboard:\n\n- Log in to the Amazon Quick\n[console](https://quicksight.aws.amazon.com/). - From the left navigation menu, select\n**Dashboards**, and then select** Quick Observability Dashboard**.\n\nEach sheet in the dashboard includes date range parameter controls and a detail table at the bottom. Selecting any chart, pie slice, or KPI filters the detail table to show the matching records.\n\n### Create Quick Sight topic\n\nUse the following command to create the Quick Sight topic:\n\nThe script verifies that each dataset contains data from a successful ingestion, then creates a Quick Sight topic with custom instructions that route questions to the correct dataset. You can see the Quick Sight Topic in Amazon Quick console.\n\n- Log in to the Amazon Quick console.\n- From the left navigation menu, select\n**Topics**, and then select** Quick Observability Topic**.\n\n### Create Quick custom chat agent\n\nThis step is performed through the Amazon Quick [console](https://quicksight.aws.amazon.com/).\n\n- From the left navigation menu, select\n**Spaces**, and then select** Create space**. - On the space creation page that opens, enter a\n**name** and**description** for your space. - Select\n**Add knowledge** to begin adding content to your space. - From the menu, choose\n**Topics**. - In\n**Add topic**, select** Quick Observability Topic**.\n\nCreate a Quick custom chat agent:\n\n- From the left navigation menu, select\n**Chat agents**, and then select** Create chat agent**. - On the agent creation page that opens, enter a\n**name** and**description** for your agent. - Under\n**Instructions**, paste[prompt](https://github.com/aws-samples/sample-quick-observability-platform/blob/main/docs/Quick%20custom%20chat%20agent.txt)from the GitHub repository. - Under\n**Knowledge sources**, choose** Link Spaces**and select** Quick Observability Space**. - Select\n**Launch chat agent** to publish the agent to the chat agent library and use it in chat.\n\nBusiness leaders can ask questions like “Which Amazon Quick features are being used the most in the last 30 days?”\n\nThey will receive instant visual answers with metrics, charts, and actionable recommendations.\n\n## Clean up\n\nTo clean up your resources deployed, run the cleanup script:\n\n`python3 cleanup.py`\n\n## Conclusion\n\nIn this post, we showed how to deploy an observability solution that consolidates Amazon Quick operational data into a secured data lake. The solution makes chat interaction metrics, user feedback, agent hours usage, index storage usage, and governance events accessible through Amazon Athena, an Amazon Quick Sight dashboard, and an Amazon Quick custom chat agent.You can extend the solution in several ways: add custom Athena views for your organization’s specific metrics, create additional sheets in the dashboard, build new chat agents tailored to different teams, or integrate the data lake with other analytics tools.\n\nTo get started, you can clone the [GitHub repository](https://github.com/aws-samples/sample-quick-observability-platform) and deploy the solution.", "url": "https://wpnews.pro/news/build-an-enterprise-observability-solution-for-amazon-quick", "canonical_source": "https://aws.amazon.com/blogs/machine-learning/build-an-enterprise-observability-solution-for-amazon-quick/", "published_at": "2026-05-26 16:09:06+00:00", "updated_at": "2026-05-26 22:08:59.991172+00:00", "lang": "en", "topics": ["artificial-intelligence", "generative-ai", "ai-products", "ai-tools", "ai-infrastructure"], "entities": ["Amazon Quick", "Amazon CloudWatch", "Amazon Quick Sight", "Spaces", "Chat agents", "Flows", "Automate", "Research"], "alternates": {"html": "https://wpnews.pro/news/build-an-enterprise-observability-solution-for-amazon-quick", "markdown": "https://wpnews.pro/news/build-an-enterprise-observability-solution-for-amazon-quick.md", "text": "https://wpnews.pro/news/build-an-enterprise-observability-solution-for-amazon-quick.txt", "jsonld": "https://wpnews.pro/news/build-an-enterprise-observability-solution-for-amazon-quick.jsonld"}}