Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description of this event type.
|
int |
getPriority()
Returns the priority of this event type.
|
String |
getSearch()
Returns the search terms for this event type.
|
String[] |
getTags()
Deprecated.
Use tags.conf.spec file to assign tags to groups of events
with related field values.
Returns the list of tags for this event type.
|
void |
setDescription(String description)
Sets the description of the event type.
|
void |
setDisabled(boolean disabled)
Sets whether the event type is enabled or disabled.
|
void |
setPriority(int priority)
Sets the priority of the event type.
|
void |
setSearch(String search)
Sets the search string.
|
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 getDescription()
public int getPriority()
public String getSearch()
public String[] getTags()
public void setDescription(String description)
description
- The description of the event type.public void setDisabled(boolean disabled)
Note: Using this method requires you to restart Splunk before this
setting takes effect. To avoid restarting Splunk, use the
Entity.disable
and Entity.enable
methods instead, which
take effect immediately.
disabled
- The boolean flagEntity.disable()
,
Entity.enable()
public void setPriority(int priority)
priority
- The priority of the event type.public void setSearch(String search)
search
- The search string.public void update(Map<String,Object> args)
Copyright © 2022 Splunk, Inc.. All rights reserved.