Get only the last record

Please show an example document from Elasticsearch or your stdout { codec => rubydebug } output.