Reputation: 3831
I have AWS API Destination, which is triggered by rule. I attached DLQ to rule and I am getting rejected messages, but I don't see any reason why this is happening. Is there any way to get logs in Cloud Watch about errors in API Destinations/Connections?
Upvotes: 4
Views: 1802
Reputation: 5758
AFAIK there is CloudWatch log for this.
And as I see you already setup the DLQ, what is the message saying? It may help us to debug further.
Another trick that I will use is to attach the target to a new Lambda service, and in this Lambda I will log the request and response for further debugging till success. Lastly I turn it off for saving resources.
Upvotes: 0
Reputation: 494
There is no facility to see/log the API Destination responses in EventBridge. I've been searching for exactly the same and come up empty.
The workaround for now is to instead target a lambda that does the API call instead.
Upvotes: 10