轉換指標和錯誤 - Amazon CloudWatch Logs

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

轉換指標和錯誤

CloudWatch Logs 會將轉換指標發佈至 CloudWatch。這些指標包括 TransformedLogEventsTransformedBytesTransformationErrors。如需詳細資訊,請參閱日誌轉換器指標和維度

每當 CloudWatch Logs 嘗試轉換日誌事件而失敗時,就會將@transformationError系統欄位新增至該日誌事件。當您執行 CloudWatch Logs Insights 查詢時,您會在所有發生轉換失敗的日誌事件中看到此欄位。您可以使用 等查詢來查詢此欄位,filter ispresent(@transformationError)以尋找所有失敗的轉換事件。