Need one or last one as output from elastic search bucket aggregation

Hi Friends
I am new to Elastic search.

In this page we are getting sum of all records

here it displays all time intervals data and sum also.. it is good. but is there anyway to get only one json as output or i need only last time interval record only displayed instead of each time interval record (no need sum) please help me.

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