Closed bhavyalatha26 closed 2 years ago
Hi, you'll need to use language specific loggers to add request id (which is available in context object) to your function logs. We don't modify customer logs (to add requestID) because it could mess with your log pipelines, break your parsers, etc. Once its in your function logs, you'll see it in the logs streamed by the logs API.
Hi Team,
Thank you for the samples. They were very helpful to get started.
When listening to logs from Logs API, not all logs have the equest id information within them. Only certain
platform events
seem to have the request id information.Is there a way to capture request id for all events ? The lambda context usually has the request id info, is there a way to pass the lambda's context object to the extension ?
Regards, Bhavya.