|
||||||||||
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.WindowsEventLogInput
public class WindowsEventLogInput
The WindowsEventLogInput
class represents a Windows Event Log data
input.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
java.lang.String |
getHosts()
Returns a list of secondary hosts used for monitoring. |
java.lang.String |
getIndex()
Returns the index name of this Windows Event Log input. |
InputKind |
getKind()
Returns the input kind of this input. |
java.lang.String |
getLocalName()
Returns the collection name of this Windows Event Log input. |
java.lang.String[] |
getLogs()
Returns the list of event log names to gather data from for this Windows Event Log input. |
java.lang.String |
getLookupHost()
Returns the main host of this Windows Event Log input. |
void |
setHosts(java.lang.String hosts)
Sets a list of secondary hosts to be used for monitoring. |
void |
setIndex(java.lang.String index)
Sets the index in which to store all generated events. |
void |
setLogs(java.lang.String logs)
Sets the list of event log names to gather data from. |
void |
setLookupHost(java.lang.String lookup_host)
Sets the main host from which to monitor log events. |
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 |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.lang.String getHosts()
getLookupHost
method.
null
if not specified.getLookupHost()
public java.lang.String getIndex()
null
if not specified.public InputKind getKind()
getKind
in class Input
public java.lang.String[] getLogs()
null
if not specified.public java.lang.String getLocalName()
public java.lang.String getLookupHost()
getHosts
method.
getHosts()
public void setHosts(java.lang.String hosts)
setLookupHost
method.
hosts
- The comma-separated list of additional hosts.setLookupHost(java.lang.String)
public void setIndex(java.lang.String index)
index
- The index name.public void setLogs(java.lang.String logs)
logs
- The list of event log names.public void setLookupHost(java.lang.String lookup_host)
setHosts
method.
lookup_host
- The main host.setHosts(java.lang.String)
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 |