Closed
Conversation
|
I would love to see support for event types in the provider. |
Author
|
Merged
Collaborator
|
Added in #222 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resource: splunk_saved_eventtypes
Create and manage saved searches.
Example Usage
Argument Reference
For latest resource argument reference: https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTknowledge#saved.2Feventtypes
This resource block supports the following arguments:
name- (Required) A name for the event type.description- (Optional) Human-readable description of this event type.search- (Required) Event type search string.color- (Optional) Color for this event type. The supported colors are: none, et_blue, et_green, et_magenta, et_orange, et_purple, et_red, et_sky, et_teal, et_yellow.disabled- (Optional) If True, disables the event type.priority- (Optional) Specify an integer from 1 to 10 for the value used to determine the order in which the matching event types of an event are displayed. 1 is the highest priority.tags- (Optional) [Deprecated] Use tags.conf.spec file to assign tags to groups of events with related field values.acl- (Optional) The app/user context that is the namespace for the resourceAttribute Reference
In addition to all arguments above, This resource block exports the following arguments:
id- The ID of the saved search event type