suricata
|
#include "suricata-common.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-device.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"
Go to the source code of this file.
Functions | |
void | EveAddAppProto (Flow *f, JsonBuilder *js) |
void | EveAddFlow (Flow *f, JsonBuilder *js) |
void | JsonFlowLogRegister (void) |
Implements Flow JSON logging portion of the engine.
Definition in file output-json-flow.c.
void EveAddAppProto | ( | Flow * | f, |
JsonBuilder * | js | ||
) |
Definition at line 169 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().
void EveAddFlow | ( | Flow * | f, |
JsonBuilder * | js | ||
) |
Definition at line 190 of file output-json-flow.c.
References CreateIsoTimeString(), FlowGetStorageById(), GetFlowBypassInfoID(), Flow_::startts, Flow_::todstbytecnt, FlowBypassInfo_::todstbytecnt, Flow_::todstpktcnt, FlowBypassInfo_::todstpktcnt, Flow_::tosrcbytecnt, FlowBypassInfo_::tosrcbytecnt, Flow_::tosrcpktcnt, and FlowBypassInfo_::tosrcpktcnt.
void JsonFlowLogRegister | ( | void | ) |
Definition at line 349 of file output-json-flow.c.
References LOGGER_JSON_FLOW, OutputJsonLogInitSub(), and OutputRegisterFlowSubModule().