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 |
getDescription() |
LogstashIndexerDao.IndexerType |
getIndexerType() |
void |
push(String data)
Sends the log data to the Logstash indexer.
|
String getDescription()
LogstashIndexerDao.IndexerType getIndexerType()
void push(String data) throws IOException
data - The serialized data, not nullIOException - The data is not written to the servernet.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-2016. All Rights Reserved.