Hi
Today i migrated my stack to elasticsearch and kibana to 5.4.0, from elasticsearch 2.4.0 and kibana 4.5, now every time i try to create a pie chart with sub-buckets i get the following error:
Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"null_pointer_exception","reason":null}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"graylog_240","node":"BZsKa72CQim7i76BsbaGsg","reason":{"type":"null_pointer_exception","reason":null}}]},"status":500}
at http://192.168.0.135:5601/bundles/kibana.bundle.js?v=15063:28:9088
at Function.Promise.try (http://192.168.0.135:5601/bundles/commons.bundle.js?v=15063:82:22203)
at http://192.168.0.135:5601/bundles/commons.bundle.js?v=15063:82:21573
at Array.map (native)
at Function.Promise.map (http://192.168.0.135:5601/bundles/commons.bundle.js?v=15063:82:21528)
at callResponseHandlers (http://192.168.0.135:5601/bundles/kibana.bundle.js?v=15063:28:8704)
at http://192.168.0.135:5601/bundles/kibana.bundle.js?v=15063:27:28290
at processQueue (http://192.168.0.135:5601/bundles/commons.bundle.js?v=15063:38:23621)
at http://192.168.0.135:5601/bundles/commons.bundle.js?v=15063:38:23888
at Scope.$eval (http://192.168.0.135:5601/bundles/commons.bundle.js?v=15063:39:4619)
is it common problem? i mean it doesn't look like a user error to me, right? also i have the following message in my es logs:
[2017-05-11T13:19:29,075][WARN ][o.e.d.r.a.RestFieldStatsAction] [_field_stats] endpoint is deprecated! Use [_field_caps] instead or run a min/max aggregations on the desired fields.
EDIT:
i just noticed that problem only occurs when i aggregate by scripted xfer
field which looks like this:
doc['sent'].value+doc['rcvd'].value
what i've done wrong?