Sub Aggregated Field | Watcher Action Elasticsearch

Hi all,

I was wondering if you could help me in figuring out how I can reference an aggregated field AND sub-aggregated field in my watcher action?
In this example, I wish to reference key and elasticid in my watcher action. Right now, I only have key

// Output

Thank you in advance :slight_smile:

Found the solution - I did not specify my array

{{second_agg.hits.hits.0.<field>}}

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