suricata
output-json-flow.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-threads.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "output.h"
#include "util-privs.h"
#include "util-buffer.h"
#include "util-proto-name.h"
#include "util-logopenfile.h"
#include "util-time.h"
#include "output-json.h"
#include "output-json-flow.h"
#include "stream-tcp.h"
#include "stream-tcp-private.h"
#include "flow-storage.h"
Include dependency graph for output-json-flow.c:

Go to the source code of this file.

Data Structures

struct  LogJsonFileCtx_
 
struct  JsonFlowLogThread_
 

Macros

#define DEFAULT_LOG_FILENAME   "flow.json"
 

Typedefs

typedef struct LogJsonFileCtx_ LogJsonFileCtx
 
typedef struct JsonFlowLogThread_ JsonFlowLogThread
 

Functions

void EveAddAppProto (Flow *f, JsonBuilder *js)
 
void EveAddFlow (Flow *f, JsonBuilder *js)
 
void JsonFlowLogRegister (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements Flow JSON logging portion of the engine.

Definition in file output-json-flow.c.

Macro Definition Documentation

◆ DEFAULT_LOG_FILENAME

#define DEFAULT_LOG_FILENAME   "flow.json"

Definition at line 359 of file output-json-flow.c.

Typedef Documentation

◆ JsonFlowLogThread

◆ LogJsonFileCtx

Function Documentation

◆ EveAddAppProto()

void EveAddAppProto ( Flow f,
JsonBuilder *  js 
)

Definition at line 179 of file output-json-flow.c.

References Flow_::alproto, Flow_::alproto_expect, Flow_::alproto_orig, Flow_::alproto_tc, Flow_::alproto_ts, ALPROTO_UNKNOWN, and AppProtoToString().

Here is the call graph for this function:

◆ EveAddFlow()

◆ JsonFlowLogRegister()

void JsonFlowLogRegister ( void  )

Definition at line 470 of file output-json-flow.c.

References LOGGER_JSON_FLOW, and OutputRegisterFlowModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:
Here is the caller graph for this function: