Differences and usage of aws vended logs vs cloudwatch

1

I got a error "Resource handler returned message: "Invalid Logging Configuration: The CloudWatch Logs Resource Policy size was exceeded. We suggest prefixing your CloudWatch log group name with /aws/vendedlogs/states/. (Service: AWSStepFunctions; Status Code: 400; Error Code: InvalidLoggingConfiguration; Request ID: XXX; Proxy: null)" (RequestToken: YYY, HandlerErrorCode: InvalidRequest)" Which was solved with suggested prefixing.

I found some informations about vended logs here: https://aws.amazon.com/cloudwatch/pricing/ It looks like only difference between vended logs and classic cloudwatch logs is price, and exception in violating Resource Policy size limit. Is there any other difference?

To my understanding all what I need to do is to use prefix vendedlogs, in log group name of e.g. stepfunction (/aws/stepfunction/ -> /aws/vendedlogs/stepfunction/)

Are my assumptions correct? Thanks

1개 답변
1

Hello, You are correct that the primary difference is the Volume pricing (as mentioned in the pricing page). For any of vended logs AWS services, you can prefix the CloudWatch Logs Log Group name with /aws/vendedlogs/ to avoid reaching the CloudWatch Logs resource policy size limit. (Step functions specific documentation - https://docs.aws.amazon.com/step-functions/latest/dg/bp-cwl.html)

So in the above case, /aws/stepfunction/ will become /aws/vendedlogs/stepfunction/

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠