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

SQL interface in dev tools #20580

Closed
zuketo opened this issue Jul 9, 2018 · 7 comments
Closed

SQL interface in dev tools #20580

zuketo opened this issue Jul 9, 2018 · 7 comments
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@zuketo
Copy link

zuketo commented Jul 9, 2018

With the introduction of SQL in Elasticsearch 6.3, SQL is now an option for exploring data in Elasticsearch.

To execute a SQL statement, users can visit Dev tools -> console

e.g.

POST /_xpack/sql?format=txt
{
    "query": "SELECT business_name, inspection_score FROM 
              inspections ORDER BY inspection_score DESC LIMIT 5"
}

There are a few options to improve how users can execute a SQL statement in Kibana, such as a dedicated SQL console within dev tools (with syntax highlighting). Hopefully this issue can start discussions on improving the SQL -> Elasticsearch interface in Kibana (and help highlight this new feature in Elasticsearch).

CC @costin

@epixa
Copy link
Contributor

epixa commented Jul 9, 2018

@elastic/kibana-management

@epixa epixa added Feature:Dev Tools :Management enhancement New value added to drive a business result labels Jul 9, 2018
@alexfrancoeur
Copy link

One option I had thought about and mentioned on the email thread involved making KQL pluggable. Potentially giving you the option to use a SQL interface (somehow) to query against your data. We wouldn't be able to support aggregations here, but it would certainly bring SQL front and center once it matures a bit more.

@zuketo do we need an entirely separate UI for this as a Dev Tool? I wonder if we could just add a "SQL mode" for Console

@zuketo
Copy link
Author

zuketo commented Jul 9, 2018

@alexfrancoeur the "SQL mode" is a great idea too, no requirements for a separate UI.

@costin
Copy link
Member

costin commented Aug 28, 2018

Any update on this front? Is it pinned to a certain version?

@alexfrancoeur
Copy link

@costin not that I'm aware of. Do we have this on the roadmap @yaronp68 @bmcconaghy ?

@yaronp68
Copy link

yaronp68 commented Nov 8, 2018

this will be handled as part of the dev console owned by @bmcconaghy

@yaronp68 yaronp68 added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed :Management DO NOT USE labels Dec 5, 2018
@cjcenizal cjcenizal added the Feature:Console Dev Tools Console Feature label May 8, 2019
@jloleysens
Copy link
Contributor

The solution we arrived at is this one: #51446

If there are more specific requirements that build on this we should open a new more specific issue.

Also see response here: #20570 (comment).

Closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

7 participants