developing - getting last data from Elasticsearch