From: Victor Julien Date: Thu, 27 Jan 2022 15:48:05 +0000 (+0100) Subject: eve/pgsql: log txs in flow direction X-Git-Tag: suricata-7.0.0-beta1~969 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=738e756eaf0d84db417adb1d2f8fca8557593bf7;p=thirdparty%2Fsuricata.git eve/pgsql: log txs in flow direction --- 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; }