I am creating an alert in XPACK WATCHER -
I get the results as json but I want to extract one field from the result set (hits).
I want to achieve the following:
{{ctx.payload.hits.hits.*._source.text}}"
This works when I actually put a number in place of the wildcard. How can I extract a field from the result set from all the documents?
Thanks