Splunk Search State Module
New in version 2015.5.0.
This state is used to ensure presence of splunk searches.
server-warning-message:
splunk_search.present:
- name: This is the splunk search name
- search: index=main sourcetype=
salt.states.splunk_search.
absent
(name, profile='splunk')¶Ensure a search is absent
API Error Search:
splunk_search.absent
The following parameters are required:
This is the name of the search in splunk
salt.states.splunk_search.
present
(name, profile='splunk', **kwargs)¶Ensure a search is present
API Error Search:
splunk_search.present:
search: index=main sourcetype=blah
template: alert_5min
The following parameters are required:
This is the name of the search in splunk
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy