I have heartbeat logging to one single index. When I go to Discover and set it for any time frame (I usually use list 60 minutes) I get Error loading data display on the screen.
When I click on See Full Error this is what I get:
construct@[native code]
Wrapper@http://10.200.100.100:5601/32141/bundles/commons.bundle.js:3:466074
construct@[native code]
http://10.200.100.100:5601/32141/bundles/commons.bundle.js:3:464861
HttpFetchError@http://10.200.100.100:5601/32141/bundles/commons.bundle.js:3:467835
_callee3$@http://10.200.100.100:5601/32141/bundles/commons.bundle.js:3:1292433
l@http://10.200.100.100:5601/32141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969221
http://10.200.100.100:5601/32141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:968971
asyncGeneratorStep@http://10.200.100.100:5601/32141/bundles/commons.bundle.js:3:1285920
_next@http://10.200.100.100:5601/32141/bundles/commons.bundle.js:3:1286249
promiseReactionJob@[native code]
Not sure how I troubleshoot this. If I go into Kibana Dev Tools and run a query against the same index I can see data. For example, if I run this code:
GET /heartbeat-*/_search
{
"query": {
"term": {
"monitor.status": {
"value":"down"
}
}
}
}
I get this in return (small sample):
{
"took" : 14,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 1,
"relation" : "eq"
},
"max_score" : 7.1974354,
"hits" : [
{
"_index" : "heartbeat-7.8.1",
"_type" : "_doc",
"_id" : "5el-cHUBJiba8jT5l2Hs",
"_score" : 7.1974354,
"_source" : {
"@timestamp" : "2020-10-28T18:35:30.000Z",
"tags" : [
"heartbeat-icmp"
],
"event" : {
"dataset" : "uptime"
},
"agent" : {
"ephemeral_id" : "0332bfc3-c1a3-485e-9f1c-3e38b6be5b56",
"id" : "f1a97784-0c2e-401d-80ba-c46e686ae269",
"name" : "navstlelastic02.navvis.local",
"type" : "heartbeat",
"version" : "7.8.1",
"hostname" : "navstlelastic02.navvis.local"
},
"ecs" : {
"version" : "1.5.0"
},
"observer" : {
"hostname" : "navstlelastic02.navvis.local",
"ip" : [
"10.200.100.102",
"fe80::e095:3e84:ec95:b22"
],
"mac" : [
"52:82:aa:68:12:20"
]
},
"error" : {
"type" : "io",
"message" : "ping timeout"
},
"summary" : {
"down" : 1,
"up" : 0
},
"monitor" : {
"type" : "icmp",
"timespan" : {
"gte" : "2020-10-28T18:35:30.000Z",
"lt" : "2020-10-28T18:35:46.000Z"
},
"check_group" : "580747e5-194c-11eb-81d6-5282aa681220",
"ip" : "10.200.100.100",
"status" : "down",
"duration" : {
"us" : 16000284
},
"id" : "auto-icmp-0X4A28B0E7BFE51856-4ad1ecda21c53bb1",
"name" : ""
},
"url" : {
"full" : "icmp://10.200.100.100",
"scheme" : "icmp",
"domain" : "10.200.100.100"
}
}
}
]
}
}