|
|||||||||
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.FiredAlert
public class FiredAlert
The FiredAlert
class represents a fired alert.
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 | |
---|---|
java.lang.String[] |
getAction()
Returns this alert's actions (such as notifying by email, running a script, adding to RSS, tracking in Alert Manager, and enabling summary indexing). |
java.lang.String |
getAlertType()
Returns this alert's type. |
java.lang.String |
getExpirationTime()
Returns the rendered expiration time for this alert. |
java.util.Date |
getParsedExpirationTime()
Returns the rendered expiration time for this alert, parsed as a Date object. |
java.lang.String |
getSavedSearchName()
Returns the saved search for this alert. |
int |
getSeverity()
Returns this alert's severity on a scale of 1 to 10, with 1 being the highest severity. |
java.lang.String |
getSid()
Returns this alert's search ID (SID). |
int |
getTriggeredAlertCount()
Returns the count of triggered alerts. |
java.util.Date |
getTriggerTime()
Returns the time this alert was triggered. |
java.util.Date |
getTriggerTimeRendered()
Returns this alert's rendered trigger time. |
boolean |
isDigestMode()
Indicates whether the result is a set of events (digest) or a single event (per result). |
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, update, update, 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 java.lang.String[] getAction()
null
if not available.public java.lang.String getAlertType()
null
if not available.public java.lang.String getExpirationTime()
null
if not
available.public java.util.Date getParsedExpirationTime()
null
if not
available.public java.lang.String getSavedSearchName()
null
if not available.public int getSeverity()
public java.lang.String getSid()
null
if not available.public int getTriggeredAlertCount()
public java.util.Date getTriggerTime()
null
if not available.public java.util.Date getTriggerTimeRendered()
null
if not available.public boolean isDigestMode()
true
if the result is a digest, false
if per
result.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |