jenkins.plugins.logstash.persistence
public interface LogstashIndexerDao
| Modifier and Type | Interface and Description |
|---|---|
static class |
LogstashIndexerDao.IndexerType |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
buildPayload(BuildData buildData,
String jenkinsUrl,
List<String> logLines)
Builds a JSON payload compatible with the Logstash schema.
|
String |
getHost() |
LogstashIndexerDao.IndexerType |
getIndexerType() |
int |
getPort() |
long |
push(String data,
PrintStream logger)
Sends the log data to the Logstash indexer.
|
int getPort()
String getHost()
LogstashIndexerDao.IndexerType getIndexerType()
long push(String data, PrintStream logger)
data - The serialized data, not nulllogger - A logger to append messages to, not nullnet.sf.json.JSONObject buildPayload(BuildData buildData, String jenkinsUrl, List<String> logLines)
buildData - Metadata about the current build, not nulljenkinsUrl - The host name of the Jenkins instance, not nulllogLines - The log data to transmit, not nullCopyright © 2004-2015. All Rights Reserved.