How to get the logs of Amazon Q with Amazon connect in out of the box ccp ?


Tried through cloud trail and cloud watch but getting only the logs from instance that created in the amazon Q service itself but not with Q which Integrated in amazon connect

1 Answer

Hello Arun, I'll work to answer your question in two parts:

First, I wanted to highlight the difference between Amazon Q and Amazon Q in Connect:

  • The key difference between standalone Amazon Q and Amazon Q in Amazon Connect is that the latter is a capability built directly into the Amazon Connect platform.

  • Amazon Q is a new type of generative AI–powered assistant that is specifically for work and can be tailored to your business. Amazon Q can help you get fast, relevant answers to pressing questions, solve problems, generate content, and take actions using the data and expertise found in your company's information repositories, code, and enterprise systems. When you chat with Amazon Q, it provides immediate, relevant information and advice to help streamline tasks, speed decision-making, and help spark creativity and innovation at work. We have built Amazon Q to be secure and private, and it can understand and respect your existing identities, roles, and permissions and use this information to personalize its interactions. (

  • Amazon Q in Connect, an evolution of Amazon Connect Wisdom, uses generative AI to deliver agents suggested responses and actions to address customer questions, providing faster issue resolution and improved customer satisfaction. Knowledge articles, wikis, and FAQs can be spread across separate repositories. Agents waste time trying to navigate these different sources of information while the customer waits for an answer. Amazon Q in Connect uses the real-time conversation with the customer, along with relevant company content, to automatically recommend what to say or what actions an agent should take to better assist customers. With Amazon Q, agents can also use natural language to search across connected knowledge sources to receive generated responses, recommended actions, and links to more information. (

Next, Amazon Q in Connect publishes usage data through AWS CloudTrail. Customers can monitor API calls made by Amazon Q in Connect within AWS CloudTrail. Some API calls to look for would be:

  • CreateSession - Called when an Amazon Connect Voice, Chat session is started for a contact with Amazon Q in Connect enabled. This API will contain metadata like the ContactId to map usage back to the flow.
  • GetRecommendations - Called to retrieve Amazon Q in Connect's intent recommendations during a live Voice/Chat contact. Monitoring the frequency of API calls and payloads can help customers understand usage.

The key is correlating these API calls back to the contacts, queues, and flows where Amazon Q is enabled to get full usage insights. Connect does not provide out of the box reporting on Q usage today, so analyzing the CloudTrail logs is the recommended approach currently.

Please let me know if this helped explain logging with Amazon Q in Connect, and please share any additional log data that you might be looking for, Taylan U.

profile pictureAWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions