Class SyslogDao
- java.lang.Object
-
- jenkins.plugins.logstash.persistence.AbstractLogstashIndexerDao
-
- jenkins.plugins.logstash.persistence.HostBasedLogstashIndexerDao
-
- jenkins.plugins.logstash.persistence.SyslogDao
-
- All Implemented Interfaces:
Serializable
,LogstashIndexerDao
public class SyslogDao extends HostBasedLogstashIndexerDao
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jenkins.plugins.logstash.persistence.LogstashIndexerDao
LogstashIndexerDao.IndexerType, LogstashIndexerDao.SyslogFormat, LogstashIndexerDao.SyslogProtocol
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.cloudbees.syslog.MessageFormat
getMessageFormat()
void
push(String data)
Sends the log data to the Logstash indexer.void
setMessageFormat(com.cloudbees.syslog.MessageFormat format)
-
Methods inherited from class jenkins.plugins.logstash.persistence.HostBasedLogstashIndexerDao
getDescription, getHost, getPort
-
Methods inherited from class jenkins.plugins.logstash.persistence.AbstractLogstashIndexerDao
buildPayload
-
-
-
-
Method Detail
-
setMessageFormat
public void setMessageFormat(com.cloudbees.syslog.MessageFormat format)
-
getMessageFormat
public com.cloudbees.syslog.MessageFormat getMessageFormat()
-
push
public void push(String data) throws IOException
Description copied from interface:LogstashIndexerDao
Sends the log data to the Logstash indexer.- Parameters:
data
- The serialized data, not null- Throws:
IOException
- The data is not written to the server
-
-