|
||||||||||
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.WindowsPerfmonInput
public class WindowsPerfmonInput
The WindowsPerfmonInput
class represents a Windows Performance
Monitor (Perfmon) 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[] |
getCounters()
Returns a list of monitored counters for this Windows Perfmon input. |
java.lang.String |
getIndex()
Returns the index name of this Windows Perfmon input. |
java.lang.String[] |
getInstances()
Returns the counter instances of this Windows Perfmon input. |
int |
getInterval()
Returns the interval at which to poll the performance counters for this Windows Perfmon input. |
InputKind |
getKind()
Returns the input kind of this input. |
java.lang.String |
getObject()
Returns the performance monitor object for this Windows Perfmon input (for example, "Process", "Server", or "PhysicalDisk"). |
void |
setCounters(java.lang.String counter)
Sets a counter to monitor. |
void |
setCounters(java.lang.String[] counters)
Sets the counters to monitor. |
void |
setDisabled(boolean disabled)
Sets whether this input is enabled or disabled. |
void |
setIndex(java.lang.String index)
Sets the index in which to store all generated events. |
void |
setInstances(java.lang.String instance)
Sets a counter instance to monitor. |
void |
setInstances(java.lang.String[] instances)
Sets the counter instances to monitor. |
void |
setInterval(int interval)
Sets the frequency to poll the performance counters. |
void |
setObject(java.lang.String object)
Sets the performance monitor object (for example, "Process", "Server", or "PhysicalDisk"). |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, remove, remove, size, update, update, 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[] getCounters()
null
if not
specified.public java.lang.String getIndex()
null
if not specified.public java.lang.String[] getInstances()
null
if not
specified.public int getInterval()
public InputKind getKind()
getKind
in class Input
public java.lang.String getObject()
public void setCounters(java.lang.String[] counters)
counters
- An array of counters to monitor.public void setCounters(java.lang.String counter)
counter
- The counter to monitor.public void setDisabled(boolean disabled)
Entity.disable
and Entity.enable
methods instead, which
take effect immediately.
disabled
- true
to disable this input, false
to
enable it.public void setIndex(java.lang.String index)
index
- The index name.public void setInstances(java.lang.String[] instances)
instances
- The counter instances to monitor.public void setInstances(java.lang.String instance)
instance
- A counter instance to monitor.public void setInterval(int interval)
interval
- The polling frequency, in seconds.public void setObject(java.lang.String object)
object
- The performance monitor object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |