Get values from bucket specifying key value

Dears all,

I'm trying to get the value inside my bucket-aggregation specifying the value of the key, but without success...

Now I'm using this way to retrieve all information

 {{#payload.aggregations.Applications.buckets}} - APPLICATION NAME: {{key}} (TOTAL: {{doc_count}} ) \t {{/payload.aggregations.Applications.buckets}}

Is there a way to specify the {{key}} and get the value??
Something like that:

 Application1:  {{payload.aggregations.Applications.buckets.key['Application1'].doc_count}}

Thanks in advance.

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