Trigger a workflow on every new event based on a target index and a search query.Endpoint: /{target}/_search
Workflows with this trigger check for new events every 5 minutes by default. You can adjust this interval in the Trigger settings.
Parameters
Parameter
Description
Query
Define the search using a Query in the Lucene Query String syntax. For more information about the Lucene Query String syntax, refer to Elasticsearch documentation.
Note: Do not query time elements, as the trigger handles them by default. Querying time elements might interfere with the proper execution of the trigger.
Target Index
Comma-separated list of data streams, indices, and aliases to search. Supports wildcards (*). To search all data streams and indices, use * or _all.