I have set up an index in elasticsearch, included its mapping have some data. When I make the GET request, I can check the contents as follows:
{
"took": 5,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 9,
"max_score": 1,
"hits": [
{
"_index": "flights",
"_type": "yatra",
"_id": "AU5tQ5QxEVKx_FDBBqf9",
"_score": 1,
"_source": {
"go_duration": 13.5,
"return_arrival_time": "2015-09-26 09:55:00",
"go_arrival_city": " NRT ",
"return_departure_city": "NRT",
"cost": 44594,
"return_duration": 11.5,
"_timestamp": "2015-07-08T19:43:42.254412",
"return_departure_time": "2015-09-25 18:40:00",
"return_arrival_city": " PNQ ",
"go_departure_time": "2015-09-16 20:00:00",
"go_arrival_time": "2015-09-17 13:20:00",
"airline": "Jet Airways",
"go_departure_city": "PNQ"
}
},
{
"_index": "flights",
"_type": "yatra",
"_id": "AU5tRPJuEVKx_FDBBqgF",
"_score": 1,
"_source": {
"go_duration": 13.5,
"return_arrival_time": "2015-09-26 09:55:00",
"go_arrival_city": " NRT ",
"return_departure_city": "NRT",
"cost": 44594,
"return_duration": 11.5,
"_timestamp": "2015-07-08T19:45:11.917928",
"return_departure_time": "2015-09-25 18:40:00",
"return_arrival_city": " PNQ ",
"go_departure_time": "2015-09-16 20:00:00",
"go_arrival_time": "2015-09-17 13:20:00",
"airline": "Jet Airways",
"go_departure_city": "PNQ"
}
}
]
}
}
Now, I have also configured kibana to use with ElasticSearch. Following is the snapshot from kibana.
I created a "_timestamp" field in Settings->Advanced->metaFields. So I created the new index with "_timestamp" field and " Index contains time-based events" field checked . I have set the timestamp to "Last 60 days". But I still cannot see the data. What am I missing?