com.splunk
Class WindowsWmiInput

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

public class WindowsWmiInput
extends Input

The WindowsWmiInput class represents a Windows Management Instrumentation (WMI) input.


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
 java.lang.String getClasses()
          Returns the WMI class name of this WMI input.
 java.lang.String[] getFields()
          Returns the properties (fields) collected for this class for this WMI input.
 java.lang.String getIndex()
          Returns the index name of this WMI input.
 java.lang.String[] getInstances()
          Returns a list of the WMI class instances for this WMI input.
 int getInterval()
          Returns the interval at which WMI input providers are queried for this WMI input.
 InputKind getKind()
          Returns the input type of this WMI input.
 java.lang.String getLocalName()
          Returns the collection name for this WMI input.
 java.lang.String getLookupHost()
          Returns the main host for this WMI input.
 java.lang.String getServer()
          Returns a list of additional servers used in monitoring.
 java.lang.String getWql()
          Returns the query string for this WMI 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

getClasses

public java.lang.String getClasses()
Returns the WMI class name of this WMI input.

Returns:
The WMI class name.

getFields

public java.lang.String[] getFields()
Returns the properties (fields) collected for this class for this WMI input.

Returns:
The list of properties collected for this class, or null if not specified.

getIndex

public java.lang.String getIndex()
Returns the index name of this WMI input.

Returns:
The index name, or null if not specified.

getInstances

public java.lang.String[] getInstances()
Returns a list of the WMI class instances for this WMI input.

Returns:
A list of the WMI class instances, or null if not specified.

getInterval

public int getInterval()
Returns the interval at which WMI input providers are queried for this WMI input.

Returns:
The WMI query interval, in seconds.

getKind

public InputKind getKind()
Returns the input type of this WMI input.

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

getLookupHost

public java.lang.String getLookupHost()
Returns the main host for this WMI input. Secondary hosts are specified in the server attribute.

Returns:
The main host.
See Also:
getServer()

getLocalName

public java.lang.String getLocalName()
Returns the collection name for this WMI input. This name appears in configuration file, the source, and the sourcetype of the indexed data.

Returns:
The collection name.

getServer

public java.lang.String getServer()
Returns a list of additional servers used in monitoring.

Returns:
A comma-separated list of additional servers, or null if not specified.
See Also:
getLookupHost()

getWql

public java.lang.String getWql()
Returns the query string for this WMI input.

Returns:
The query string.