Go to the documentation of this file.
60 if (
ctx != NULL &&
ctx->buffer != NULL) {
68 static void OutputJsonLogDeInitCtxSub(
OutputCtx *output_ctx)
82 output_ctx->
DeInit = OutputJsonLogDeInitCtxSub;
84 result.
ctx = output_ctx;
92 if (initdata == NULL) {
112 *data = (
void *)thread;
OutputInitResult OutputJsonLogInitSub(ConfNode *conf, OutputCtx *parent_ctx)
void FreeEveThreadCtx(OutputJsonThreadCtx *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)