Composite with max query in source

Hi all,

I am trying to get a max timestamp from a field inside an composite aggregation but I am unable to successfully do it.

I have tried this so far:

Is what I want supported? Do I need a different approach?

Thanks for any insight.


Can you please send an example of documents and also the expected output from the search?

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