public class SyslogAuditService extends Object implements AuditService
| Modifier and Type | Field and Description |
|---|---|
static String |
DFLT_MESSAGE_FORMAT
The default message format is rfc_5424.
|
static String |
DFLT_SYSLOG_FACILITY
The default facility is USER.
|
static String |
DFLT_SYSLOG_HOST
The default IP is localhost.
|
static int |
DFLT_SYSLOG_PORT
The default port is 514.
|
static String |
DFLT_SYSLOG_PROTOCOL
The default mode is UDP.
|
protected com.cloudbees.syslog.sender.AbstractSyslogMessageSender |
syslog
The syslog client instance.
|
| Constructor and Description |
|---|
SyslogAuditService() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(String conf) |
void |
logEvent(AuditEvent event)
Log audit event.
|
void |
logEvent(PciAuditEvent event)
Log PCI audit event.
|
public static final int DFLT_SYSLOG_PORT
public static final String DFLT_SYSLOG_PROTOCOL
public static final String DFLT_SYSLOG_FACILITY
public static final String DFLT_SYSLOG_HOST
public static final String DFLT_MESSAGE_FORMAT
protected com.cloudbees.syslog.sender.AbstractSyslogMessageSender syslog
public void init(String conf)
init in interface AuditServicepublic void logEvent(AuditEvent event)
AuditServicelogEvent in interface AuditServiceevent - Audit event. Must not be null-public void logEvent(PciAuditEvent event)
AuditServicelogEvent in interface AuditServiceevent - Audit event. Must not be null-Copyright © 2019. All rights reserved.