I am playing around with Kibana for the first time after my first elasticsearch training. I start up locust to dump some randomly generated data into elasticsearch via the rest api and then I wanted to visualise it in real time. The weird thing is that it seems like I can query for data via the 'console' tab but nowhere else. For example, take this query;
GET /ping/single/_search
{
"query" : {
"match_all": {}
}
}
This yields results;
{
"took": 1,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 202,
"max_score": 1,
"hits": [
{
"_index": "ping",
"_type": "single",
"_id": "AVokuwFnEMlBU3BPizDp",
"_score": 1,
"_source": {
"ts": "2017-02-09T22:15:19.779062",
"val": 0.053606971838083384,
"cs": 5.4685131140092285,
"uid": "c"
}
}
...
We can see a timestamp with time 22:15
in it. Next, I'll be looking at the discover tab in kibana to discover that it cannot find any results what-so-ever. Note that I am looking 5 hours back and the time of running was 22:48
on the same date.
The visualisations also do not work and I am wondering why. I have added the data to the index pattern.
What am I missing?
I am running ELS version: 5.1.1 that came with the developer tutorial of elasticsearch.