Modifier and Type | Method and Description |
---|---|
String[] |
getCounters()
Returns a list of monitored counters for this Windows Perfmon input.
|
String |
getIndex()
Returns the index name of this Windows Perfmon input.
|
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.
|
String |
getObject()
Returns the performance monitor object for this Windows
Perfmon input (for example, "Process", "Server", or "PhysicalDisk").
|
void |
setCounters(String counter)
Sets a counter to monitor.
|
void |
setCounters(String[] counters)
Sets the counters to monitor.
|
void |
setDisabled(boolean disabled)
Sets whether this input is enabled or disabled.
|
void |
setIndex(String index)
Sets the index in which to store all generated events.
|
void |
setInstances(String instance)
Sets a counter instance to monitor.
|
void |
setInstances(String[] instances)
Sets the counter instances to monitor.
|
void |
setInterval(int interval)
Sets the frequency to poll the performance counters.
|
void |
setObject(String object)
Sets the performance monitor object (for example, "Process", "Server", or
"PhysicalDisk").
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, 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[] getCounters()
null
if not
specified.public String getIndex()
null
if not specified.public String[] getInstances()
null
if not
specified.public int getInterval()
public InputKind getKind()
public String getObject()
public void setCounters(String[] counters)
counters
- An array of counters to monitor.public void setCounters(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(String index)
index
- The index name.public void setInstances(String[] instances)
instances
- The counter instances to monitor.public void setInstances(String instance)
instance
- A counter instance to monitor.public void setInterval(int interval)
interval
- The polling frequency, in seconds.public void setObject(String object)
object
- The performance monitor object.Copyright © 2022 Splunk, Inc.. All rights reserved.