Class LogstashDao
- java.lang.Object
-
- jenkins.plugins.logstash.persistence.AbstractLogstashIndexerDao
-
- jenkins.plugins.logstash.persistence.HostBasedLogstashIndexerDao
-
- jenkins.plugins.logstash.persistence.LogstashDao
-
- All Implemented Interfaces:
Serializable
,LogstashIndexerDao
public class LogstashDao 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
-
-
Constructor Summary
Constructors Constructor Description LogstashDao(String logstashHostString, int logstashPortInt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
push(String data)
Sends the log data to the Logstash indexer.-
Methods inherited from class jenkins.plugins.logstash.persistence.HostBasedLogstashIndexerDao
getDescription, getHost, getPort
-
Methods inherited from class jenkins.plugins.logstash.persistence.AbstractLogstashIndexerDao
buildPayload
-
-
-
-
Constructor Detail
-
LogstashDao
public LogstashDao(String logstashHostString, int logstashPortInt)
-
-
Method Detail
-
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
-
-