Skip to content

Commit

Permalink
Split unmatched file by line (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
showwin authored Jul 9, 2024
1 parent 770b074 commit a020b40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/logs_monitoring/steps/handlers/s3_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a020b40

Please sign in to comment.