How can i use dev tools query in kibana discover query bar, is it possible?


(Kabali12345) #1

my dev tool query

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?

Thanks in advance.


(David Pilato) #2

I moved your question to #kibana.
I don't think you can.

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

(CJ Cenizal) #3

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.

Thanks,
CJ


(system) closed #4

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