GET /cars/transactions/_search
{
"size" : 0,
"aggs":{
"price":{
"histogram":{
"field": "price",
"interval": 20000
},
"aggs":{
"revenue": {
"sum": {
"field" : "price"
}
}
}
}
}
How can i use dev tools query in kibana discover query bar, is it possible?
Hi there, as David mentioned, this isn't currently possible. The best option available is to manually convert from one syntax to the other.
We might be able to offer functionality similar to what you're asking for in the future. We're currently looking into developing an improved Kibana query language (https://github.com/elastic/kibana/issues/10789). I've cross-linked this post on that issue. Please feel free to track progress there.
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.