Can't parse boolean value [0], expected [true] or [false]


(Yedukondalu Mammu) #1

Hi,
I am using 6.1.2 of Kibana. On the dashboard I have a Pie Chart which shows true and false on it. When I click on true section I am getting this error.

Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query: {\n "bool" : {\n "must" : [\n {\n "match_all" : {\n "boost" : 1.0\n }\n },\n {\n "match_all" : {\n "boost" : 1.0\n }\n },\n {\n "match_phrase" : {\n "QC.QC_PASSED.value" : {\n "query" : 0,\n "slop" : 0,\n "boost" : 1.0\n }\n }\n },\n {\n "range" : {\n "ACTIVITY_UPDATES.when" : {\n "from" : 1518590160628,\n "to" : 1526366160629,\n "include_lower" : true,\n "include_upper" : true,\n "format" : "epoch_millis",\n "boost" : 1.0\n }\n }\n }\n ],\n "adjust_pure_negative" : true,\n "boost" : 1.0\n }\n}","index_uuid":"fosThHoRSXmjJ64BnOWllw","index":"autoqc-new"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"autoqc-new","node":"_CvNVfpaR_mXdow4bEimTQ","reason":{"type":"query_shard_exception","reason":"failed to create query: {\n "bool" : {\n "must" : [\n {\n "match_all" : {\n "boost" : 1.0\n }\n },\n {\n "match_all" : {\n "boost" : 1.0\n }\n },\n {\n "match_phrase" : {\n "QC.QC_PASSED.value" : {\n "query" : 0,\n "slop" : 0,\n "boost" : 1.0\n }\n }\n },\n {\n "range" : {\n "ACTIVITY_UPDATES.when" : {\n "from" : 1518590160628,\n "to" : 1526366160629,\n "include_lower" : true,\n "include_upper" : true,\n "format" : "epoch_millis",\n "boost" : 1.0\n }\n }\n }\n ],\n "adjust_pure_negative" : true,\n "boost" : 1.0\n }\n}","index_uuid":"fosThHoRSXmjJ64BnOWllw","index":"autoqc-new","caused_by":{"type":"illegal_argument_exception","reason":"Can't parse boolean value [0], expected [true] or [false]"}}}]},"status":400}
at http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/kibana.bundle.js?v=16363:61:655936
at Function.Promise.try (http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/commons.bundle.js?v=16363:50:19289)
at http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/commons.bundle.js?v=16363:50:18677
at Array.map ()
at Function.Promise.map (http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/commons.bundle.js?v=16363:50:18635)
at callResponseHandlers (http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/kibana.bundle.js?v=16363:61:655514)
at http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/kibana.bundle.js?v=16363:61:644874
at processQueue (http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/commons.bundle.js?v=16363:29:132456)
at http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/commons.bundle.js?v=16363:29:133349
at Scope.$digest (http://prod-gpo-eng01.bos01.corp.akamai.com/bundles/commons.bundle.js?v=16363:29:144239)

Can you please help me?


(Tim Roes) #2

This was unfortunately a bug due to some changes in Elasticsearch, that happens in the Kibana 6.1 version. It was fixed via https://github.com/elastic/kibana/pull/15927 and all versions 6.2+ are not affected by that issue.


(Yedukondalu Mammu) #3

Thanks much timroes.


(system) #4

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