I would like to return the most recent record (top 1) from ElasticSearch index similar to the sql query below;
SELECT
I used @timestamp instead of _timestamp
@timestamp
_timestamp
{ 'size' : 1, 'query': { 'match_all' : {} }, "sort" : [{"@timestamp":{"order": "desc"}}] }