How to use range query about date that amass data through logstash?