com.splunk
Class WindowsRegistryInput

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

public class WindowsRegistryInput
extends Input

The WindowsRegistryInput class represents a Windows Registry 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.Entity
toUpdate
 
Fields inherited from class com.splunk.Resource
actions, partialPath, path, refreshArgs, service, title
 
Method Summary
 boolean getBaseline()
          Indicates whether this Windows Registry input has an established baseline.
 java.lang.String getHive()
          Returns the hive name to monitor for this Windows Registry input.
 java.lang.String getIndex()
          Returns the index name for this Windows Registry input.
 InputKind getKind()
          Returns the input kind for this Windows Registry input.
 boolean getMonitorSubnodes()
          Indicates whether this Windows Registry input monitors all sub-nodes under a given hive.
 java.lang.String getProc()
          Returns the regular expression (regex) that is compared to process names when including or excluding events for this Windows Registry input.
 java.lang.String getType()
          Returns the regular expression (regex) that is compared to registry event types for this Windows Registry input.
 void setBaseline(boolean baseline)
          Sets whether to establish a baseline value for the registry keys.
 void setDisabled(boolean disabled)
          Sets whether this input is enabled or disabled.
 void setHive(java.lang.String hive)
          Sets the registry hive under which to monitor for changes.
 void setIndex(java.lang.String index)
          Sets the index in which to store all generated events.
 void setMonitorSubnodes(boolean monitorSubnodes)
          Sets whether to monitor the subnodes of the given registry hive.
 void setProc(java.lang.String proc)
          Sets the process regular expression (regex) that is compared to process names when including or excluding events for this Windows Registry input.
 void setType(java.lang.String type)
          Sets the regular expression (regex) that is compared to registry event types for this Windows Registry input.
 void update()
          Updates the entity with the accumulated arguments, established by the individual setter methods for each specific entity class.
 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, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, reload, remove, remove, size, 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

getBaseline

public boolean getBaseline()
Indicates whether this Windows Registry input has an established baseline.

Returns:
true if this Windows Registry input has an established baseline, false if not.

getProc

public java.lang.String getProc()
Returns the regular expression (regex) that is compared to process names when including or excluding events for this Windows Registry input. Changes are only collected if a process name matches this regex.

Returns:
The process names regex.

getHive

public java.lang.String getHive()
Returns the hive name to monitor for this Windows Registry input.

Returns:
The hive name to monitor.

getIndex

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

Returns:
The index name.

getKind

public InputKind getKind()
Returns the input kind for this Windows Registry input.

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

getMonitorSubnodes

public boolean getMonitorSubnodes()
Indicates whether this Windows Registry input monitors all sub-nodes under a given hive.

Returns:
true if this Windows Registry input monitors all sub-nodes under a given hive, false if not.

getType

public java.lang.String getType()
Returns the regular expression (regex) that is compared to registry event types for this Windows Registry input. Only types that match this regex are monitored.

Returns:
The registry type regex, or null if not specified.

setBaseline

public void setBaseline(boolean baseline)
Sets whether to establish a baseline value for the registry keys.

Parameters:
baseline - true to establish a baseline value, false if not.

setDisabled

public void setDisabled(boolean disabled)
Sets whether this input is enabled or disabled. You can also do this using the Entity.disable and Entity.enable methods.

Parameters:
disabled - true to disabled to script input, false to enable.
See Also:
Entity.disable(), Entity.enable()

setHive

public void setHive(java.lang.String hive)
Sets the registry hive under which to monitor for changes.

Parameters:
hive - The registry hive.

setIndex

public void setIndex(java.lang.String index)
Sets the index in which to store all generated events.

Parameters:
index - The index name.

setMonitorSubnodes

public void setMonitorSubnodes(boolean monitorSubnodes)
Sets whether to monitor the subnodes of the given registry hive.

Parameters:
monitorSubnodes - true for this Windows Registry input to monitor all sub-nodes, false if not.

setProc

public void setProc(java.lang.String proc)
Sets the process regular expression (regex) that is compared to process names when including or excluding events for this Windows Registry input. Changes are only collected if a process name matches this regex.

Parameters:
proc - The process regex.

setType

public void setType(java.lang.String type)
Sets the regular expression (regex) that is compared to registry event types for this Windows Registry input. Only types that match this regex are monitored.

Parameters:
type - The type regex.

update

public 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. The specified arguments take precedent over the values that were set using the setter methods.

Overrides:
update in class Entity
Parameters:
args - The arguments to update.

update

public void update()
Updates the entity with the accumulated arguments, established by the individual setter methods for each specific entity class.

Overrides:
update in class Entity