本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
亞馬遜 CloudWatch 日誌資源政策大小限制
CloudWatch 記錄檔資源策略的長度限制為 5120 個字元。當 CloudWatch 記錄檔偵測到原則接近此大小限制時,會自動啟用以開頭的記錄群組/aws/vendedlogs/
。
當您建立啟用記錄的狀態機器時,Step Functions 必須使用您指定的記 CloudWatch 錄群組來更新記錄資源原則。若要避免達到 CloudWatch 記錄檔資源原則大小限制,請在 CloudWatch 記錄檔群組名稱前面加上/aws/vendedlogs/
。當您在 Step Functions 主控台中建立記錄群組時,記錄群組名稱的前置詞會加上。/aws/vendedlogs/states
如需詳細資訊,請參閱啟用來自某些AWS服務的記錄。
如果您無法存取 CloudWatch 記錄檔,請參閱以取得相Unable to access the CloudWatch Logs關資訊。