suricata
log-httplog.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void LogHttpLogRegister (void)
 
void TmModuleLogHttpLogIPv4Register (void)
 
void TmModuleLogHttpLogIPv6Register (void)
 
OutputInitResult LogHttpLogInitCtx (ConfNode *)
 Create a new http log LogFileCtx. More...
 

Detailed Description

Function Documentation

OutputInitResult LogHttpLogInitCtx ( ConfNode conf)

Create a new http log LogFileCtx.

Parameters
confPointer to ConfNode containing this loggers configuration.
Returns
NULL if failure, LogFileCtx* to the file_ctx if succesful

Definition at line 552 of file log-httplog.c.

References ALPROTO_HTTP, AppLayerParserRegisterLogger(), LogHttpFileCtx_::cf, ConfNodeLookupChildValue(), ConfValIsTrue(), OutputInitResult_::ctx, OutputCtx_::data, DEFAULT_LOG_FILENAME, OutputCtx_::DeInit, LogHttpFileCtx_::file_ctx, LogHttpFileCtx_::flags, LOG_HTTP_CUSTOM, LOG_HTTP_DEFAULT, LOG_HTTP_EXTENDED, LogCustomFormatAlloc(), LogCustomFormatFree(), LogCustomFormatParse(), LogFileFreeCtx(), LogFileNewCtx(), OutputInitResult_::ok, SC_ERR_HTTP_LOG_GENERIC, SC_ERR_INVALID_ARGUMENT, SCCalloc, SCConfLogOpenGeneric(), SCFree, SCLogDebug, SCLogError, SCMalloc, and unlikely.

Referenced by LogHttpLogRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

void LogHttpLogRegister ( void  )

Definition at line 66 of file log-httplog.c.

References ALPROTO_HTTP, LOGGER_HTTP, LogHttpLogger(), LogHttpLogInitCtx(), LogHttpLogThreadDeinit(), LogHttpLogThreadInit(), MODULE_NAME, and OutputRegisterTxModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function:

void TmModuleLogHttpLogIPv4Register ( void  )
void TmModuleLogHttpLogIPv6Register ( void  )