suricata
output-json-file.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threadvars.h"
#include "tm-modules.h"
#include "threads.h"
#include "app-layer-parser.h"
#include "detect-filemagic.h"
#include "stream.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-privs.h"
#include "util-debug.h"
#include "util-atomic.h"
#include "util-file.h"
#include "util-time.h"
#include "util-buffer.h"
#include "util-byte.h"
#include "util-validate.h"
#include "util-logopenfile.h"
#include "output.h"
#include "output-json.h"
#include "output-json-file.h"
#include "output-json-http.h"
#include "output-json-smtp.h"
#include "output-json-email-common.h"
#include "output-json-nfs.h"
#include "output-json-smb.h"
#include "app-layer-htp.h"
#include "app-layer-htp-xff.h"
#include "util-memcmp.h"
#include "stream-tcp-reassemble.h"
Include dependency graph for output-json-file.c:

Go to the source code of this file.

Data Structures

struct  OutputFileCtx_
 
struct  JsonFileLogThread_
 

Typedefs

typedef struct OutputFileCtx_ OutputFileCtx
 
typedef struct JsonFileLogThread_ JsonFileLogThread
 

Functions

JsonBuilder * JsonBuildFileInfoRecord (const Packet *p, const File *ff, void *tx, const uint64_t tx_id, const bool stored, uint8_t dir, HttpXFFCfg *xff_cfg, OutputJsonCtx *eve_ctx)
 
void JsonFileLogRegister (void)
 

Detailed Description

Author
Tom DeCanio td@np.nosp@m.ulse.nosp@m.tech..nosp@m.com

Log files we track.

Definition in file output-json-file.c.

Typedef Documentation

◆ JsonFileLogThread

◆ OutputFileCtx

typedef struct OutputFileCtx_ OutputFileCtx

Function Documentation

◆ JsonBuildFileInfoRecord()

JsonBuilder* JsonBuildFileInfoRecord ( const Packet p,
const File ff,
void *  tx,
const uint64_t  tx_id,
const bool  stored,
uint8_t  dir,
HttpXFFCfg xff_cfg,
OutputJsonCtx eve_ctx 
)

◆ JsonFileLogRegister()

void JsonFileLogRegister ( void  )

Definition at line 352 of file output-json-file.c.

References LOGGER_JSON_FILE, and OutputRegisterFileSubModule().

Here is the call graph for this function: