com.splunk
Class MonitorInput

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.Entity
          extended by com.splunk.Input
              extended by com.splunk.MonitorInput
All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.Object>

public class MonitorInput
extends Input

The MonitorInput class represents a monitor input, which is a file, directory, script, or network port that is monitored for new data.


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.Resource
actions, path, service, title
 
Method Summary
 int getFileCount()
          Returns the file count of this monitor input.
 java.lang.String getHost()
          Returns the host for this monitor input.
 java.lang.String getIndex()
          Returns the index name for this monitor input.
 InputKind getKind()
          Returns the type of monitor input.
 int getRcvBuf()
          Returns value of the _rcvbuf attribute for this monitor input.
 
Methods inherited from class com.splunk.Entity
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, reload, remove, remove, size, update, validate, values
 
Methods inherited from class com.splunk.Resource
getActions, 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

getFileCount

public int getFileCount()
Returns the file count of this monitor input.

Returns:
The file count.

getHost

public java.lang.String getHost()
Returns the host for this monitor input.

Returns:
The host, or null if not specified.

getIndex

public java.lang.String getIndex()
Returns the index name for this monitor input.

Returns:
The index name.

getKind

public InputKind getKind()
Returns the type of monitor input.

Overrides:
getKind in class Input
Returns:
The input kind.
See Also:
InputKind

getRcvBuf

public int getRcvBuf()
Returns value of the _rcvbuf attribute for this monitor input.

Returns:
The _rcvbuf value.