hi~
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
"query":{
"filtered":{
"filter":{
"and":[{
"range":{
"yymmddhhmmss":{
"lte":"2016-05-30 00:00:00",
"gte":"2016-04-30 00:00:00",
"format":"yyyy-MM-dd HH:mm:ss"
}
}
}]
}
}
}