@@ -123,7 +123,7 @@ processors:
123123 transform/postgres_logs:
124124 log_statements:
125125 - conditions:
126- - body["format"] == "csv"
126+ - log. body["format"] == "csv"
127127 statements:
128128 - set(log.cache, ParseCSV(log.body["original"], log.body["headers"], delimiter=",",
129129 mode="strict"))
@@ -203,7 +203,7 @@ processors:
203203 - set(log.attributes["process.title"], log.body["ps"]) where IsString(log.body["ps"])
204204 - set(log.attributes["user.name"], log.body["user"]) where IsString(log.body["user"])
205205 - conditions:
206- - 'Len(body["message"]) > 7 and Substring(body["message"], 0, 7) == "AUDIT:
206+ - 'Len(log. body["message"]) > 7 and Substring(log. body["message"], 0, 7) == "AUDIT:
207207 "'
208208 statements:
209209 - set(log.body["pgaudit"], ParseCSV(Substring(log.body["message"], 7, Len(log.body["message"])
@@ -383,7 +383,7 @@ processors:
383383 transform/postgres_logs:
384384 log_statements:
385385 - conditions:
386- - body["format"] == "csv"
386+ - log. body["format"] == "csv"
387387 statements:
388388 - set(log.cache, ParseCSV(log.body["original"], log.body["headers"], delimiter=",",
389389 mode="strict"))
@@ -463,7 +463,7 @@ processors:
463463 - set(log.attributes["process.title"], log.body["ps"]) where IsString(log.body["ps"])
464464 - set(log.attributes["user.name"], log.body["user"]) where IsString(log.body["user"])
465465 - conditions:
466- - 'Len(body["message"]) > 7 and Substring(body["message"], 0, 7) == "AUDIT:
466+ - 'Len(log. body["message"]) > 7 and Substring(log. body["message"], 0, 7) == "AUDIT:
467467 "'
468468 statements:
469469 - set(log.body["pgaudit"], ParseCSV(Substring(log.body["message"], 7, Len(log.body["message"])
0 commit comments