From 058ad81f0133457b2a7c793f582230070487ca48 Mon Sep 17 00:00:00 2001 From: djkhl Date: Fri, 16 Aug 2024 10:22:09 +0200 Subject: [PATCH] fix extra data things --- logprep/processor/pre_detector/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logprep/processor/pre_detector/processor.py b/logprep/processor/pre_detector/processor.py index 41ebc3dc0..6d3a3193e 100644 --- a/logprep/processor/pre_detector/processor.py +++ b/logprep/processor/pre_detector/processor.py @@ -136,7 +136,7 @@ def _get_detection_result(self, event: dict, rule: PreDetectorRule): detection_result = self._generate_detection_result(pre_detection_id, event, rule) self.result.data.append((detection_result, self._config.outputs)) - detection_result.pop("source_timezone", "source_formats") + detection_result.pop("source_timezone") detection_result.pop("source_formats") detection_result.pop("target_timezone") detection_result.pop("timestamp_field")