suricata
alert-syslog.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "flow.h"
#include "conf.h"
#include "threads.h"
#include "tm-threads.h"
#include "threadvars.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-reference.h"
#include "output.h"
#include "alert-syslog.h"
#include "util-classification-config.h"
#include "util-debug.h"
#include "util-print.h"
#include "util-proto-name.h"
#include "util-syslog.h"
#include "util-optimize.h"
#include "util-logopenfile.h"
Include dependency graph for alert-syslog.c:

Go to the source code of this file.

Data Structures

struct  AlertSyslogThread_
 

Macros

#define DEFAULT_ALERT_SYSLOG_FACILITY_STR   "local0"
 
#define DEFAULT_ALERT_SYSLOG_FACILITY   LOG_LOCAL0
 
#define DEFAULT_ALERT_SYSLOG_LEVEL   LOG_ERR
 
#define MODULE_NAME   "AlertSyslog"
 

Typedefs

typedef struct AlertSyslogThread_ AlertSyslogThread
 

Functions

void AlertSyslogRegister (void)
 Function to register the AlertSyslog module. More...
 

Detailed Description

Author
Gurvinder Singh gurvi.nosp@m.nder.nosp@m.singh.nosp@m.dahi.nosp@m.ya@gm.nosp@m.ail..nosp@m.com

Logs alerts in a line based text format in to syslog.

Definition in file alert-syslog.c.

Macro Definition Documentation

#define DEFAULT_ALERT_SYSLOG_FACILITY   LOG_LOCAL0

Definition at line 56 of file alert-syslog.c.

#define DEFAULT_ALERT_SYSLOG_FACILITY_STR   "local0"

Definition at line 55 of file alert-syslog.c.

#define DEFAULT_ALERT_SYSLOG_LEVEL   LOG_ERR

Definition at line 57 of file alert-syslog.c.

#define MODULE_NAME   "AlertSyslog"

Definition at line 58 of file alert-syslog.c.

Referenced by AlertSyslogRegister().

Typedef Documentation

Function Documentation

void AlertSyslogRegister ( void  )

Function to register the AlertSyslog module.

Definition at line 395 of file alert-syslog.c.

References LOGGER_ALERT_SYSLOG, MODULE_NAME, and OutputRegisterPacketModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: