public class RedisDao extends AbstractLogstashIndexerDao
LogstashIndexerDao.IndexerType, LogstashIndexerDao.SyslogFormat, LogstashIndexerDao.SyslogProtocol| Constructor and Description |
|---|
RedisDao(String host,
int port,
String key,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
LogstashIndexerDao.IndexerType |
getIndexerType() |
void |
push(String data)
Sends the log data to the Logstash indexer.
|
buildPayload, getCharset, getDescription, setCharsetpublic void push(String data) throws IOException
LogstashIndexerDaodata - The serialized data, not nullIOException - The data is not written to the serverpublic LogstashIndexerDao.IndexerType getIndexerType()
Copyright © 2016–2018. All rights reserved.