Skip to content

Conversation

@ykitamura-mdsol
Copy link

Lambda Telemetry API support is added: SumoLogic#19

Also, added customization to try to extract JSON string from a log line 15785d4

Normally, Lambda adds a timestamp, request ID, and log level to each entry:
https://docs.aws.amazon.com/lambda/latest/dg/nodejs-logging.html

console.log(JSON.stringify({"message": "good"}))
// => 2023-08-17T21:42:52.036Z	8a088148-3199-441e-b17d-5633f8da318e	INFO	{"message":"good"}

With this PR , that log entry shows up in Sumo like this:

Screenshot 2023-08-17 at 6 16 39 PM

@mdsol/architecture-enablement

@jcarres-mdsol jcarres-mdsol merged commit 50db7cb into mdsol-build Aug 18, 2023
@jcarres-mdsol jcarres-mdsol deleted the feature/strip_logger_text branch August 18, 2023 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants