public class SSLLogstashTcpSocketAppender extends LogstashTcpSocketAppender
LogstashTcpSocketAppender and overwrites the
LogstashTcpSocketAppender.getSocketFactory() method to return a SSLSocketFactory
instead of a SocketFactory so that the data will be sent SSL-encrypted.DEFAULT_PORT, DEFAULT_QUEUE_SIZE, DEFAULT_RECONNECTION_DELAY, encoder| Constructor and Description |
|---|
SSLLogstashTcpSocketAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected SocketFactory |
getSocketFactory()
Gets the default
SocketFactory for the platform. |
append, connectionFailed, encoderClose, encoderInit, getEncoder, getEventDelayLimit, getPort, getPST, getQueueSize, getReconnectionDelay, getRemoteHost, isIncludeCallerData, newConnector, run, setEncoder, setEventDelayLimit, setIncludeCallerData, setPort, setQueueSize, setReconnectionDelay, setRemoteHost, start, stopaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected SocketFactory getSocketFactory()
LogstashTcpSocketAppenderSocketFactory for the platform.
Subclasses may override to provide a custom socket factory.
getSocketFactory in class LogstashTcpSocketAppenderCopyright © 2014. All Rights Reserved.