Find the Contact Flow logs of specific contact ID in Amazon Connect

Returns the contact flow logs for the specific Contact ID and if it returned any error

Cloudwatch Log Insights snippet that provides the logs of the specific contact ID if it resulted in any error

Copy the code into CloudWatch log insights

fields @timestamp, @message
| sort @timestamp desc
| filter ContactId = "1234abc-456d-4ef-ghi-96c9631f2a95"
| filter Results LIKE "Error"
                                


< Back to snippets

GitHub icon View this snippet on GitHub


Running the CloudWatch snippet

Click on the button below to open up the snippet directly into your AWS account.

Manually running the CloudWatch snippet

2. Select Logs, and then choose Logs Insights.
3. In the Select log group(s) drop down, choose one or more log groups to query.
4. Copy snippet into query text area.
5. Click "Run Query"

Created by:

Pallavi Bhat

Pallavi Bhat

Pallavi is a Cloud Support Enginner focusing on serverless at Amazon Web Services.

Follow on LinkedIn