suricata
util-syslog.h File Reference
#include "util-enum.h"
Include dependency graph for util-syslog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Functions

SCEnumCharMapSCSyslogGetFacilityMap (void)
 returns the syslog facility enum map More...
 
SCEnumCharMapSCSyslogGetLogLevelMap (void)
 returns the syslog facility enum map More...
 

Detailed Description

Macro Definition Documentation

◆ DEFAULT_ALERT_SYSLOG_FACILITY

#define DEFAULT_ALERT_SYSLOG_FACILITY   LOG_LOCAL0

Definition at line 36 of file util-syslog.h.

◆ DEFAULT_ALERT_SYSLOG_FACILITY_STR

#define DEFAULT_ALERT_SYSLOG_FACILITY_STR   "local0"

Definition at line 35 of file util-syslog.h.

◆ DEFAULT_ALERT_SYSLOG_LEVEL

#define DEFAULT_ALERT_SYSLOG_LEVEL   LOG_ERR

Definition at line 37 of file util-syslog.h.

Function Documentation

◆ SCSyslogGetFacilityMap()

SCEnumCharMap* SCSyslogGetFacilityMap ( void  )

returns the syslog facility enum map

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

References sc_syslog_facility_map.

◆ SCSyslogGetLogLevelMap()

SCEnumCharMap* SCSyslogGetLogLevelMap ( void  )

returns the syslog facility enum map

Definition at line 75 of file util-syslog.c.

References sc_syslog_level_map.