public final class SyslogConfigBean extends Object implements SyslogdConfig
SyslogdConfig
service.Constructor and Description |
---|
SyslogConfigBean() |
Modifier and Type | Method and Description |
---|---|
int |
getBatchIntervalMs()
Messages are aggregated in batches before being dispatched.
|
int |
getBatchSize()
Messages are aggregated in batches before being dispatched.
|
String |
getDiscardUei()
getDiscardUei
|
String |
getForwardingRegexp()
getForwardingRegexp
|
List<HideMatch> |
getHideMessages()
A collection of Strings we do not want to attach to the event.
|
String |
getListenAddress()
getListenAddress
|
Integer |
getMatchingGroupHost()
getMatchingGroupHost
|
Integer |
getMatchingGroupMessage()
getMatchingGroupMessage
|
boolean |
getNewSuspectOnMessage()
getNewSuspectOnMessage
|
int |
getNumThreads()
Number of threads used for consuming/dispatching messages.
|
String |
getParser()
getParser
|
int |
getQueueSize()
Maximum number of messages to keep in memory while waiting
to be dispatched.
|
int |
getSyslogPort()
getSyslogPort
|
TimeZone |
getTimeZone()
Optional:
- if not null it will be used as default time zone if no time zone is given
- if not set the system time zone will be used
|
List<UeiMatch> |
getUeiList()
A collection of Strings->UEI's
|
void |
reload()
reload configuration
|
void |
setBatchIntervalMs(int batchIntervalMs) |
void |
setBatchSize(int batchSize) |
void |
setDiscardUei(String discardUei) |
void |
setForwardingRegexp(String forwardingRegexp) |
void |
setListenAddress(String listenAddress) |
void |
setMatchingGroupHost(int matchingGroupHost) |
void |
setMatchingGroupMessage(int matchingGroupMessage) |
void |
setNewSuspectOnMessage(boolean newSuspectOnMessage) |
void |
setNumThreads(int numThreads) |
void |
setParser(String parser) |
void |
setQueueSize(int queueSize) |
void |
setSyslogPort(int syslogPort) |
void |
setTimeZone(TimeZone timeZone) |
public int getSyslogPort()
SyslogdConfig
getSyslogPort
getSyslogPort
in interface SyslogdConfig
public void setSyslogPort(int syslogPort)
public String getListenAddress()
SyslogdConfig
getListenAddress
getListenAddress
in interface SyslogdConfig
String
object.public void setListenAddress(String listenAddress)
public boolean getNewSuspectOnMessage()
SyslogdConfig
getNewSuspectOnMessage
getNewSuspectOnMessage
in interface SyslogdConfig
public void setNewSuspectOnMessage(boolean newSuspectOnMessage)
public String getForwardingRegexp()
SyslogdConfig
getForwardingRegexp
getForwardingRegexp
in interface SyslogdConfig
String
object.public void setForwardingRegexp(String forwardingRegexp)
public Integer getMatchingGroupHost()
SyslogdConfig
getMatchingGroupHost
getMatchingGroupHost
in interface SyslogdConfig
public void setMatchingGroupHost(int matchingGroupHost)
public Integer getMatchingGroupMessage()
SyslogdConfig
getMatchingGroupMessage
getMatchingGroupMessage
in interface SyslogdConfig
public void setMatchingGroupMessage(int matchingGroupMessage)
public String getParser()
SyslogdConfig
getParser
getParser
in interface SyslogdConfig
public void setParser(String parser)
public List<UeiMatch> getUeiList()
SyslogdConfig
getUeiList
in interface SyslogdConfig
public List<HideMatch> getHideMessages()
SyslogdConfig
getHideMessages
in interface SyslogdConfig
public String getDiscardUei()
SyslogdConfig
getDiscardUei
getDiscardUei
in interface SyslogdConfig
String
object.public void setDiscardUei(String discardUei)
public int getNumThreads()
SyslogdConfig
getNumThreads
in interface SyslogdConfig
public void setNumThreads(int numThreads)
public int getQueueSize()
SyslogdConfig
getQueueSize
in interface SyslogdConfig
public void setQueueSize(int queueSize)
public int getBatchSize()
SyslogdConfig
getBatchSize
in interface SyslogdConfig
public void setBatchSize(int batchSize)
public int getBatchIntervalMs()
SyslogdConfig
getBatchIntervalMs
in interface SyslogdConfig
public TimeZone getTimeZone()
SyslogdConfig
getTimeZone
in interface SyslogdConfig
public void setTimeZone(TimeZone timeZone)
public void setBatchIntervalMs(int batchIntervalMs)
public void reload() throws IOException
SyslogdConfig
reload
in interface SyslogdConfig
IOException
Copyright © 2019. All rights reserved.