Im doing something wrong but cant work it out, any help is appreciated.
I have a bunch of documents in elasticsearch, this is the search and result from Marvel:
GET /my_index/my_type/_search
{"query" :
{
"bool" : {
"must" : [
{
"term" : { "channel" : "request" }
},
{
"term":{"level" : "200"}},
{
"term":{"userid" : 84}}
]
}
}
}
### result
{
"took": 10,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 2.970658,
"hits": [
{
"_index": "my_index",
"_type": "my_type",
"_id": "AVCuTdURjAmnSWnnkp4Z",
"_score": 2.970658,
"_source": {
"id": "29155",
"channel": "request",
"level": "200",
"source": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)",
"message": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"userid": "84",
"time": "1405813801"
}
}
]
}
}
The time field represents Sat, 19 Jul 2014 23:50:01 GMT
I've managed to find the index in Kibana settings, but I cannot get a single result from any search. I have set the time range to "last 5 years" and search as * , I just get "No Results found "
I've also tried recreating my index with a new mapping where "store" is true in all fields. No difference.
Can anyone suggest what I might be doing wrong?