From 738e756eaf0d84db417adb1d2f8fca8557593bf7 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 27 Jan 2022 16:48:05 +0100 Subject: [PATCH] eve/pgsql: log txs in flow direction --- src/output-json-pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output-json-pgsql.c b/src/output-json-pgsql.c index 0ab87d1760..515a25a98f 100644 --- a/src/output-json-pgsql.c +++ b/src/output-json-pgsql.c @@ -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; } -- 2.47.2