How to get s3 request IDs on successful PutObject requests #3006
-
There was a recent an outage where s3 requests were succeeding but only after a very long timeout. When AWS support asked for request IDs our on-call had to resort to looking in the s3 logs to get the request IDs. In the documentation it shows only getting request IDs when there's an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
do you have any code to share? not sure if this is helpful but it seems to be populated in the middleware section and only on errors. if you can rework the code from middleware it might be usable, but it seems to only get this |
Beta Was this translation helpful? Give feedback.
I looked through the code and didn't see anything but just checked and found this. I'm adding it now to see if this has what we need.
EDIT: This did exactly what I needed!