when i tried to filter the documents from elastic search in canvas metric element giving an unexpected error. can some one please help here
{
"bool": {
 
		"filter": {
"term": {
"field1": "130402"
 }}
 
			 }
  }
            when i tried to filter the documents from elastic search in canvas metric element giving an unexpected error. can some one please help here
{
"bool": {
 
		"filter": {
"term": {
"field1": "130402"
 }}
 
			 }
  }
            Hi Joshdover,
I have selected as metric and i have added query and the expression editor lokks like below.
It is showing error symbol in canvas dashboard for the element.
filters
| esdocs index="dispc_sip1" fields=""
query="{ "bool": {   		"filter": { "term": { "column19": "130402"  }}   			 }   }"
| math "unique(region)"
| metric "With out retry" metricFormat="0,0.[000]"
| render
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.