Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Query DSL in queries and filters #770

Closed
thejohnfreeman opened this issue Dec 13, 2013 · 53 comments
Closed

Support Query DSL in queries and filters #770

thejohnfreeman opened this issue Dec 13, 2013 · 53 comments

Comments

@thejohnfreeman
Copy link

I believe some queries cannot be done with the query string query alone, e.g. queries on nested fields. It shouldn't be too hard to just support an arbitrary Query DSL object. I'll take a look into doing it next week, unless an alternative exists. A Google search for "kibana query dsl" turns up nothing.

@rashidkpc
Copy link
Contributor

We have plans to implement this in an upcoming version. We've waited on it for now while development of a new javascript client progresses. Once we have that in place this will be one of the first new features.

@thejohnfreeman
Copy link
Author

Which JS client are you waiting for? Is there anything I can do to help move this forward?

@rashidkpc
Copy link
Contributor

Its being developed internally, should be out in the coming weeks.

@chetvil
Copy link

chetvil commented Jan 23, 2014

What is the progress on the current issue? And one more question: how can we query on various endpoints? (not only on _search one)

@ecbrodie
Copy link

Also curious about the status of this issue.

@epicwhale
Copy link

Any update on this?

@mohsinh
Copy link

mohsinh commented Mar 28, 2014

+1 for this

@kristianperkins
Copy link

👍

@rabson85
Copy link

rabson85 commented Apr 4, 2014

+1 for this, would be great to have the possibility to edit the inspected elements, and at least do a clean json object query in the search field in Kibana as well.

@antongorshkov
Copy link

+1 - wondering if there has been any progress here

@zegerk
Copy link

zegerk commented May 2, 2014

+1

4 similar comments
@HarryNing
Copy link

+1

@yongjhih
Copy link

yongjhih commented May 6, 2014

+1

@natba
Copy link

natba commented May 13, 2014

+1

@nel
Copy link

nel commented May 13, 2014

+1

@hadojae
Copy link

hadojae commented May 14, 2014

Is there any news to this?

@atulsuklikar
Copy link

+1, especially to incorporate the aggregations functionality

@basilboli
Copy link

+1

5 similar comments
@Antwnis
Copy link

Antwnis commented Jun 4, 2014

+1

@raniwala
Copy link

raniwala commented Jun 8, 2014

+1

@sabyasachi
Copy link

+1

@svs
Copy link

svs commented Jun 13, 2014

+1

@dezsenyi
Copy link

+1

@kpanic
Copy link

kpanic commented Jun 17, 2014

@rashidkpc any updates on this? 😄 👍 thanks!

@gfl
Copy link

gfl commented Jun 20, 2014

+1

2 similar comments
@andrebalg
Copy link

+1

@saiprasadmishra
Copy link

+1

@rashidkpc
Copy link
Contributor

We're still working on it, turned out to be a bit more complex than we thought todo right. Coming soonish.

@saiprasadmishra
Copy link

Thanks @rashidkpc this will be a killer feature for me and if I can get a preview edition of kibana for this it will be great for my demo purpose...This is one of the great ways to push ES in a bigger org where I am in right now....makes it really compelling case to not build any visualization for an ES index where we have modeled everything as nested for reliable search result

@aquadrini
Copy link

+1

1 similar comment
@karavanis
Copy link

+1

@sanpat4
Copy link

sanpat4 commented Aug 4, 2014

Hi,
Right now Kibana supports only basic lucene queries. I know we have 2 bugs open for custom queries (770 and 814). Do we have an update on that one? Can we use custom queries using Facets in Kibana. And also, currently Kibana turns all the queries to Facets internally, can we use aggregation queries in our custom queries.

Thanks,
Sandeep

@mmcf
Copy link

mmcf commented Aug 29, 2014

+1

6 similar comments
@AnasKhchaf
Copy link

+1

@kaore
Copy link

kaore commented Sep 10, 2014

+1

@MartyIce
Copy link

+1

@alexbelj
Copy link

alexbelj commented Oct 6, 2014

+1

@diegomarangoni
Copy link

+1

@leandrodiniz
Copy link

+1

@spalger
Copy link
Contributor

spalger commented Oct 7, 2014

With Kibana 4 you can put JSON right into the query bar.

It's not perfect but in a pinch it will allow you to use the DSL to create queries.

@spalger spalger closed this as completed Oct 7, 2014
@jvienne
Copy link

jvienne commented Dec 23, 2014

@rashidkpc: any news of this feature? Thanks!

@spenceralger : this sounds great, but how to do it? How to put JSON into the query bar?

(I'm trying with the query of this example: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/children-agg.html)

@ssoto
Copy link

ssoto commented Feb 9, 2015

+1 to that feature.

I have some _mapping fields that I get by a transform. Could be nice use in my queries.

Thank you!

@forzagreen
Copy link

#3315
"Kibana 3 does not support JSON queries. You will need kibana 4 for this "

@surbhi26
Copy link

Is there any update of writing JSON queries in Kibana 4 ?

@yesoreyeram
Copy link

Any update on this feature? Also why this issue is in closed state? @spalger how to put JSON in query bar?

@spalger
Copy link
Contributor

spalger commented Sep 30, 2015

@yesoreyeram it's really just that easy

image

@yesoreyeram
Copy link

+1 OMG! Super cool!!! Thanks @spalger

@navraj28
Copy link

@spalger Can I get Kibana to work with queries like the one attached?
test.txt

@satheeshravirintern
Copy link

@navraj28 I know its an old comment but I am using query similar to yours. Were you able to execute your query in Kibana?

@darrencruse
Copy link

Any reason this got closed? Did it get implemented?

(I'm needing to create a Kibana Visualization that shows a weighted average computed using a "bucket_script" aggregation - I was hoping this issue might have provided me a way to simply use my elasticsearch query directly without it being generated for me by Kibana based on my UI selections)

@rokcarl
Copy link

rokcarl commented Oct 22, 2020

I need to do custom Elasticsearch queries as well, for example, there's a bug for rolled-up indices that has a workaround in the form of a custom query. Currently, there's no way for me to do the chart that I need.

Is this even on the roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests