|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.Entity com.splunk.Input com.splunk.TcpSplunkInput
public class TcpSplunkInput
The TcpSplunkInput
class represents a Splunk-processed "cooked" TCP
data input. This differs from a raw TCP input in that this cooked TCP data is
processed by Splunk and is not in raw form.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.splunk.Entity |
---|
content, toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, path, refreshArgs, service, title |
Method Summary | |
---|---|
TcpConnections |
connections()
Returns an object that contains the inbound cooked TCP connections. |
java.lang.String |
getConnectionHost()
Returns the style of host connection. |
java.lang.String |
getGroup()
Returns the group for this cooked TCP input. |
java.lang.String |
getHost()
Returns the source host for this cooked TCP input where this indexer gets its data. |
java.lang.String |
getIndex()
Returns the index name for this cooked TCP input. |
InputKind |
getKind()
Returns the input kind of this input. |
int |
getPort()
Returns the port that this input is listening on. |
java.lang.String |
getQueue()
Returns the queue for this cooked TCP input. |
int |
getRcvBuf()
Deprecated. Returns the value of the _rcvbuf attribute for this
cooked TCP input. |
java.lang.String |
getRestrictToHost()
Returns the incoming host restriction for this cooked TCP input. |
java.lang.String |
getSource()
Returns the initial source key for this cooked TCP input. |
java.lang.String |
getSourceType()
Returns the event source type for this cooked TCP input. |
boolean |
getSSL()
Indicates whether this cooked TCP input is using secure socket layer (SSL). |
void |
setConnectionHost(java.lang.String connection_host)
Sets the value for the from-host field for the remote server that is sending data. |
void |
setDisabled(boolean disabled)
Sets whether this input is enabled or disabled. |
void |
setHost(java.lang.String host)
Sets the host from which the indexer gets data. |
void |
setSSL(boolean SSL)
Sets whether to use secure socket layer (SSL). |
void |
update(java.util.Map<java.lang.String,java.lang.Object> args)
Updates the entity with the values you previously set using the setter methods, and any additional specified arguments. |
Methods inherited from class com.splunk.Entity |
---|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public TcpConnections connections()
public java.lang.String getConnectionHost()
null
if not specified.public java.lang.String getGroup()
public java.lang.String getHost()
null
if not specified.public java.lang.String getIndex()
null
if not specified.public InputKind getKind()
getKind
in class Input
public java.lang.String getQueue()
null
if not specified.public int getRcvBuf()
_rcvbuf
attribute for this
cooked TCP input.
_rcvbuf
value.public java.lang.String getRestrictToHost()
null
if not specified.public java.lang.String getSource()
null
if not specified.public java.lang.String getSourceType()
null
if not specified.public boolean getSSL()
true
if this input is using SSL, false
if not.public void setSSL(boolean SSL)
SSL
- true
to use SSL, false
if not.public void setConnectionHost(java.lang.String connection_host)
connection_host
- The connection host information.public void setDisabled(boolean disabled)
Note: Using this method requires you to restart Splunk before this
setting takes effect. To avoid restarting Splunk, use the
Entity.disable
and Entity.enable
methods instead, which
take effect immediately.
disabled
- true
to disable this input, false
to
enable it.public void setHost(java.lang.String host)
host
- The host.public int getPort()
public void update(java.util.Map<java.lang.String,java.lang.Object> args)
update
method to additionally update this input's
path if the RestrictToHost
property is changed.
update
in class Entity
args
- The arguments to update.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |