|
suricata
|
#include "suricata-common.h"#include "detect.h"#include "pkt-var.h"#include "conf.h"#include "app-layer-parser.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-private.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 "util-exception-policy.h"
Go to the source code of this file.
Functions | |
| void | EveAddAppProto (Flow *f, SCJsonBuilder *js) |
| void | EveAddFlow (Flow *f, SCJsonBuilder *js) |
| void | JsonFlowLogRegister (void) |
Implements Flow JSON logging portion of the engine.
Definition in file output-json-flow.c.
| void EveAddAppProto | ( | Flow * | f, |
| SCJsonBuilder * | js | ||
| ) |
Definition at line 178 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, |
| SCJsonBuilder * | js | ||
| ) |
Definition at line 198 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 440 of file output-json-flow.c.
References LOGGER_JSON_FLOW, OutputJsonLogInitSub(), and OutputRegisterFlowSubModule().
