Kibana Tile Map locks up after upgrading to 5.4

I have a index of 32 million documents all stored as geo_point objects. Within Kibana tile map visualization I set the precision to 7. I also extend it to return all document (rather than the default 10,000 limit) by placing {"size":100000000} in the advanced JSON input. In both ES/Kibana 5.2 and 5.3, this would return/display all of them in a matter of a few seconds. I have recently upgraded to 5.4, and it is choking at the same index. It takes a few seconds just to return/display just 2 million of the documents. If I go beyond that, it pretty much locks up and I end up killing my Kibana session. All my other visualizations based on this index appear to be updating fine. Thoughts?
Thanks

Can you get the network output from the msearch request from your browser dev tools? A .har file would work as well. It'll be useful to see the exact parameters being sent through the proxy to Elasticsearch as well as the request/response duration in Elasticsearch itself.

Attached you will find a screen capture of the console error.

Below are the contents of the .HAR file (sorry, wouldn't let me upload). Looks like ES returning fine and Kibana is having rendering errors.

{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": ,
"entries": [
{
"startedDateTime": "2017-05-26T18:12:09.224Z",
"time": 2449.3559999973513,
"request": {
"method": "POST",
"url": "http://localhost:5601/elasticsearch/_msearch",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Origin",
"value": "http://localhost:5601"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Host",
"value": "localhost:5601"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "kbn-version",
"value": "5.4.0"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
},
{
"name": "content-type",
"value": "application/x-ndjson"
},
{
"name": "Accept",
"value": "application/json, text/plain, /"
},
{
"name": "Referer",
"value": "http://localhost:5601/app/kibana"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Length",
"value": "431"
}
],
"queryString": ,
"cookies": ,
"headersSize": 479,
"bodySize": 431,
"postData": {
"mimeType": "application/x-ndjson",
"text": "{"index":"photolog","ignore_unavailable":true,"preference":1495822163009}\n{"query":{"bool":{"must":[{"query_string":{"query":"*","analyze_wildcard":true}},{"range":{"COLL_DATE":{"gte":1432663929218,"lte":1495822329218,"format":"epoch_millis"}}}],"must_not":}},"size":0,"_source":{"excludes":},"aggs":{"2":{"geohash_grid":{"field":"location","precision":7,"size":100000000},"aggs":{"3":{"geo_centroid":{"field":"location"}}}}}}\n"
}
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Fri, 26 May 2017 18:12:10 GMT"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "kbn-version",
"value": "5.4.0"
},
{
"name": "vary",
"value": "accept-encoding"
},
{
"name": "content-type",
"value": "application/json; charset=UTF-8"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "Transfer-Encoding",
"value": "chunked"
},
{
"name": "kbn-name",
"value": "kibana"
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"cookies": ,
"content": {
"size": 18648807,
"mimeType": "application/json",
"compression": 14440099
},
"redirectURL": "",
"headersSize": 265,
"bodySize": 4208708,
"_transferSize": 4208973
},
"cache": {},
"timings": {
"blocked": 0.358999997843057,
"dns": 301.14199998206493,
"connect": 0.8270000107580131,
"send": 0.39299999480198267,
"wait": 1273.360999999572,
"receive": 873.2740000123113,
"ssl": -1
},
"serverIPAddress": "127.0.0.1",
"connection": "742"
}
]
}
}

This does look like a bug to me in tilemap. Can you open an issue on github and include that har information and console capture?

Issue opened, thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.