|
|||||||||
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.WindowsRegistryInput
public class WindowsRegistryInput
The WindowsRegistryInput
class represents a Windows Registry data
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 |
---|
content, toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, 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 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 expressions (regexes) that are 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 regular expression (regex) that is compared to process names when including or excluding events for this Windows Registry input. |
void |
setType(java.lang.String[] regexes)
Sets the regular expressions (regexes) that are 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, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, 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 boolean getBaseline()
true
if this Windows Registry input has an established
baseline, false
if not.public java.lang.String getProc()
public java.lang.String getHive()
public java.lang.String getIndex()
public InputKind getKind()
getKind
in class Input
public boolean getMonitorSubnodes()
true
if this Windows Registry input monitors all
sub-nodes under a given hive, false
if not.public java.lang.String[] getType()
public void setBaseline(boolean baseline)
baseline
- true
to establish a baseline value, false
if not.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 setHive(java.lang.String hive)
hive
- The registry hive.public void setIndex(java.lang.String index)
index
- The index name.public void setMonitorSubnodes(boolean monitorSubnodes)
monitorSubnodes
- true
for this Windows Registry input to
monitor all sub-nodes, false
if not.public void setProc(java.lang.String proc)
proc
- The process names regex.public void setType(java.lang.String[] regexes)
regexes
- An array of regex strings for event types.public void update(java.util.Map<java.lang.String,java.lang.Object> args)
update
in class Entity
args
- The arguments to update.public void update()
update
in class Entity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |