diff --git a/aws/logs_monitoring/steps/handlers/s3_handler.py b/aws/logs_monitoring/steps/handlers/s3_handler.py index 03614ec9..2ac32063 100644 --- a/aws/logs_monitoring/steps/handlers/s3_handler.py +++ b/aws/logs_monitoring/steps/handlers/s3_handler.py @@ -296,6 +296,7 @@ def _extract_other_logs(self): "DD_MULTILINE_LOG_REGEX_PATTERN %s did not match start of file, splitting by line", DD_MULTILINE_LOG_REGEX_PATTERN, ) + self.data_store.data = self.data_store.data.splitlines() for line in self.data_store.data: yield self._format_event(line)