Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cloudwatch-loginsights-connect-contactid/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div align="center">

<h1>Explore <a href="https://serverlessland.com">ServerlessLand</a></h1>


![ServerlessLand.com](../serverlessland.png)
[Explore 700+ patterns](https://serverlessland.com/patterns?ref=github-snippets) | [Explore 50+ guides](https://serverlessland.com/learn?ref=github-snippets) | [Explore 80+ guides](https://serverlessland.com/snippets?ref=github-snippets)

</div>

31 changes: 31 additions & 0 deletions cloudwatch-loginsights-connect-contactid/snippet-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"title": "Find the Contact Flow logs of specific contact ID in Amazon Connect",
"description": "Returns the contact flow logs for the specific Contact ID and if it returned any error",
"type": "CloudWatch Logs Insights",
"services": ["connect", "lambda"],
"tags": ["Testing"],
"introBox": {
"headline": "How it works",
"text": ["Cloudwatch Log Insights snippet that provides the logs of the specific contact ID if it resulted in any error"
]
},
"gitHub": {
"template": {
"repoURL": "https://github.com/aws-samples/serverless-snippets/tree/main/cloudwatch-loginsights-connect-contactid"
}
},
"snippets": [
{
"title": "Copy the code into CloudWatch log insights",
"snippetPath": "snippet.txt",
"language": "css"
}
],
"authors": {
"headline": "Presented by Pallavi Bhat",
"name": "Pallavi Bhat",
"imageURL": "https://drive.google.com/file/d/1xYr8HfVnLZOMmhAc9hSsyj_O85yyznF7/view?usp=sharing",
"linkedin": "https://www.linkedin.com/in/pallavi-bhat11/",
"bio": "Cloud Support Engineer at AWS."
}
}
4 changes: 4 additions & 0 deletions cloudwatch-loginsights-connect-contactid/snippet.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fields @timestamp, @message
| sort @timestamp desc
| filter ContactId = "1234abc-456d-4ef-ghi-96c9631f2a95"
| filter Results LIKE "Error"