Skip to content

Commit 77134ca

Browse files
authored
feat(awslambda): improve aws.cloudwatch.logs URL by adding requestId filtering. (#4032)
1 parent 143ee39 commit 77134ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/serverless/src/awslambda.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function enhanceScopeWithEnvironmentData(scope: Scope, context: Context, startTi
175175
process.env.AWS_REGION
176176
}#logsV2:log-groups/log-group/${encodeURIComponent(context.logGroupName)}/log-events/${encodeURIComponent(
177177
context.logStreamName,
178-
)}`,
178+
)}?filterPattern="${context.awsRequestId}"`,
179179
});
180180
}
181181

0 commit comments

Comments
 (0)