Extracting Specific Fields

You can specify which fields in the search response you want to load into the
watch payload with the extract attribute. This is useful when a search
generates a large response and you are only interested in particular fields.

For example, the following input loads only the total number of hits into the
watch payload:

How to expand wildcards. Valid values are: all, open, closed, and none
See expand_wildcards for more information.

request.indices_options.ignore_unavailable

no

true

Whether the search should ignore unavailable indices. See
ignore_unavailable for more information.

request.indices_options.allow_no_indices

no

true

Whether to allow a search where a wildcard indices expression results in no
concrete indices. See allow_no_indices
for more information.

extract

no

-

A array of JSON keys to extract from the search response and load as the payload.
When a search generates a large response, you can use extract to select the
relevant fields instead of loading the entire response.

timeout

no

30s

The timeout for waiting for the search api call to return. If no response is
returned within this time, the search input times out and fails. This setting
overrides the default search operations timeouts.

You can reference the following variables in the execution context when
specifying the request body: