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


my logstash conf and used elasticsearch query
what am i wrong??

absolutely, i have data in below example range...

if yymmddhhmmss's type is String, how to change type.......

logstash conf

filter csv
{yymmddhhmmss, type, path, host, ip}

output elasticsearch

query to search elasticsearch

"lte":"2016-05-30 00:00:00",
"gte":"2016-04-30 00:00:00",
"format":"yyyy-MM-dd HH:mm:ss"

It's not clear what your problem is here, can you please clarify?