Go to the documentation of this file.
60 if (
ctx != NULL &&
ctx->buffer != NULL) {
68 static void OutputJsonLogDeInitCtxSub(
OutputCtx *output_ctx)
91 output_ctx->
DeInit = OutputJsonLogDeInitCtxSub;
93 result.
ctx = output_ctx;
101 if (initdata == NULL) {
121 *data = (
void *)thread;
int OutputJsonLogFlush(ThreadVars *tv, void *thread_data, const Packet *p)
OutputInitResult OutputJsonLogInitSub(ConfNode *conf, OutputCtx *parent_ctx)
void FreeEveThreadCtx(OutputJsonThreadCtx *ctx)
void LogFileFlush(LogFileCtx *file_ctx)
#define JSON_OUTPUT_BUFFER_SIZE
TmEcode JsonLogThreadInit(ThreadVars *t, const void *initdata, void **data)
OutputJsonThreadCtx * CreateEveThreadCtx(ThreadVars *t, OutputJsonCtx *ctx)
Per thread variable structure.
LogFileCtx * LogFileEnsureExists(ThreadId thread_id, LogFileCtx *parent_ctx)
LogFileEnsureExists() Ensure a log file context for the thread exists.
void(* DeInit)(struct OutputCtx_ *)
void MemBufferFree(MemBuffer *buffer)
TmEcode JsonLogThreadDeinit(ThreadVars *t, void *data)
MemBuffer * MemBufferCreateNew(uint32_t size)