You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my understanding anything written to stdout/stderr during the invocation of a Lambda will be written to a log stream corresponding to that invocation and a log group corresponding to what lambda is running.
Currently the format of the default log stream name looks like:
(For some reason square brackets were being rendered as a URL so I replaced them with parentheses)
It would be super helpful if there was a way, possibly only when using a custom runtime if that makes it easier to implement, that one could specify the log stream name template that the lambda auto-generates during an invocation. I don't think that the async lambda log aggregator/uploader that reads stdout/stderr is open source, so I am not sure how it actually works but maybe it could be configured early on in the custom runtime initialization using something like a system wide environment variable?
When browsing logs it would be so awesome to at-a-glance be able to see certain identifiers in the log stream name to narrow down what I'm looking for.
Another possible way to implement this would be to allow for adding "tags" to a log stream like we can currently do for log groups.
If anyone knows a way to implement something like this currently, let me know. I don't think there is though and so this is more of a feature request.
Thanks very much.
The text was updated successfully, but these errors were encountered:
I apologize that this issue is not strictly on topic for this project. Perhaps it could be forwarded to the right Cloudwatch devs?
I posted this on the AWS Developer Forums but didn't receive any replies.
I have copied it below:
From my understanding anything written to stdout/stderr during the invocation of a Lambda will be written to a log stream corresponding to that invocation and a log group corresponding to what lambda is running.
Currently the format of the default log stream name looks like:
"2020/08/21/($LATEST)579c5fcbef68455492a8a1a034475fdd"
Which is probably some type of template like:
"$DATE/($VERSION)/$HASH"
(For some reason square brackets were being rendered as a URL so I replaced them with parentheses)
It would be super helpful if there was a way, possibly only when using a custom runtime if that makes it easier to implement, that one could specify the log stream name template that the lambda auto-generates during an invocation. I don't think that the async lambda log aggregator/uploader that reads stdout/stderr is open source, so I am not sure how it actually works but maybe it could be configured early on in the custom runtime initialization using something like a system wide environment variable?
When browsing logs it would be so awesome to at-a-glance be able to see certain identifiers in the log stream name to narrow down what I'm looking for.
Another possible way to implement this would be to allow for adding "tags" to a log stream like we can currently do for log groups.
If anyone knows a way to implement something like this currently, let me know. I don't think there is though and so this is more of a feature request.
Thanks very much.
The text was updated successfully, but these errors were encountered: