Modifier and Type | Method and Description |
---|---|
String |
getHosts()
Returns a list of secondary hosts used for monitoring.
|
String |
getIndex()
Returns the index name of this Windows Event Log input.
|
InputKind |
getKind()
Returns the input kind of this input.
|
String |
getLocalName()
Returns the collection name of this Windows Event Log input.
|
String[] |
getLogs()
Returns the list of event log names to gather data from for this Windows
Event Log input.
|
String |
getLookupHost()
Returns the main host of this Windows Event Log input.
|
void |
setHosts(String hosts)
Sets a list of secondary hosts to be used for monitoring.
|
void |
setIndex(String index)
Sets the index in which to store all generated events.
|
void |
setLogs(String logs)
Sets the list of event log names to gather data from.
|
void |
setLookupHost(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(Map<String,Object> args)
Updates the entity with the values you previously set using the setter
methods, and any additional specified arguments.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getHosts()
getLookupHost
method.null
if not specified.getLookupHost()
public String getIndex()
null
if not specified.public InputKind getKind()
public String[] getLogs()
null
if not specified.public String getLocalName()
public String getLookupHost()
getHosts
method.getHosts()
public void setHosts(String hosts)
setLookupHost
method.hosts
- The comma-separated list of additional hosts.setLookupHost(java.lang.String)
public void setIndex(String index)
index
- The index name.public void setLogs(String logs)
logs
- The list of event log names.public void setLookupHost(String lookup_host)
setHosts
method.lookup_host
- The main host.setHosts(java.lang.String)
public void update(Map<String,Object> args)
Copyright © 2022 Splunk, Inc.. All rights reserved.