Unable to get hits count in the Action Message

I have created a Monitor in which I have added a trigger with ctx.results[0].hits.total > 7 condition.

In the message for Action for this trigger when I try to get the hits count by accessing {{ctx.results[0].hits.total}} it doesn't print anything.

How can I access the total in my Action message?

We are using AWS managed ElasticSearch Service

image

Hello!

You may find more success getting your issue resolved in the dedicated support medium of the specific product you are using.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.