Illegal_argument_exception | Elasticsearch

Hi,

I am getting an illegal argument exception, however when I look at the output, the aggregated field and names are correct.
Could anyone please help me?

// Output

Hi all,

Found the issue.

It is ctx.payload.hits.total, not ctx.payload.hits.total.value

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