]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/pgsql: log txs in flow direction 6879/head
authorVictor Julien <vjulien@oisf.net>
Thu, 27 Jan 2022 15:48:05 +0000 (16:48 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 27 Jan 2022 15:48:05 +0000 (16:48 +0100)
src/output-json-pgsql.c

index 0ab87d17605b700085969205788b826213d02afa..515a25a98f03f1a407dd284bdb7368c0ffbf8af4 100644 (file)
@@ -66,7 +66,7 @@ static int JsonPgsqlLogger(ThreadVars *tv, void *thread_data, const Packet *p, F
     SCLogDebug("Logging pgsql transaction %" PRIu64 ".", tx_id);
 
     JsonBuilder *jb =
-            CreateEveHeader(p, LOG_DIR_PACKET, "pgsql", NULL, thread->pgsqllog_ctx->eve_ctx);
+            CreateEveHeader(p, LOG_DIR_FLOW, "pgsql", NULL, thread->pgsqllog_ctx->eve_ctx);
     if (unlikely(jb == NULL)) {
         return TM_ECODE_FAILED;
     }