Modifier and Type | Method and Description |
---|---|
OutputServerAllConnections |
allConnections()
Returns an object that contains all current connections to the output
server.
|
String |
getClientCert()
Returns client certificate path.
|
String |
getDestHost()
Returns the DNS name of the destination server for this connection.
|
String |
getDestIp()
Returns the IP address of the destination server for this connection.
|
int |
getDestPort()
Return the port on which the destination server is listening.
|
String |
getMethod()
Returns the data distribution method used when two or more servers exist
in the same forwarder group.
|
int |
getSourcePort()
Returns the port on the destination server where data is forwarded.
|
String |
getStatus()
Returns the server connection status (usually "connect_done",
"connect_fail", or "connect_try").
|
void |
setClientCert(String clientCert)
Sets the client certificate path which is being supported in recent versions.
|
void |
setMethod(String method)
Sets the type of data distribution method when two or more servers
exist in the same forwarder group.
|
void |
setSslAltNameToCheck(String sslAltNameToCheck)
Sets the alternate name to match in the remote server's SSL certificate.
|
void |
setSslCertPath(String sslCertPath)
Sets the path to the client certificate.
|
void |
setSslCipher(String sslCipher)
Sets the SSL cipher in the form:
ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM |
void |
setSslCommonNameToCheck(String sslCommonNameToCheck)
Sets the name against which to check the common name of the server's
certificate.
|
void |
setSslPassword(String sslPassword)
Sets the password associated with the PEM file store.
|
void |
setSslRootCAPath(String sslRootCAPath)
Sets the path to the root certificate authority file.
|
void |
setSslVerifyServerCert(boolean sslVerifyServerCert)
Sets whether the server being connected to is authenticated.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDestHost()
public String getDestIp()
public int getDestPort()
public String getMethod()
public int getSourcePort()
public String getStatus()
public String getClientCert()
public void setMethod(String method)
method
- The data distribution method.public void setSslAltNameToCheck(String sslAltNameToCheck)
sslAltNameToCheck
- The alternate name.public void setSslCertPath(String sslCertPath)
sslCertPath
- The path to the client certificate.public void setSslCipher(String sslCipher)
ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
sslCipher
- The SSL cipher.public void setSslCommonNameToCheck(String sslCommonNameToCheck)
SslVerifyServerCert
is true
.sslCommonNameToCheck
- The SSL common name.setSslVerifyServerCert(boolean)
public void setSslPassword(String sslPassword)
sslPassword
- The password.public void setSslRootCAPath(String sslRootCAPath)
sslRootCAPath
- The path to the root certificate authority file.public void setSslVerifyServerCert(boolean sslVerifyServerCert)
sslVerifyServerCert
- true
to determine whether the server
is authenticated, false
if not.public void setClientCert(String clientCert)
clientCert
- The path for client certificate.public OutputServerAllConnections allConnections()
OutputServerAllConnections
object.Copyright © 2022 Splunk, Inc.. All rights reserved.