2017-12-13 10:19:31 -05:00
|
|
|
[role="xpack"]
|
2018-06-22 18:40:25 -04:00
|
|
|
[testenv="basic"]
|
2017-12-13 10:19:31 -05:00
|
|
|
[[xpack-sql]]
|
|
|
|
= SQL Access
|
|
|
|
|
2018-02-07 12:57:11 -05:00
|
|
|
:sql-tests: {xes-repo-dir}/../../qa/sql
|
2017-12-13 10:19:31 -05:00
|
|
|
:sql-specs: {sql-tests}/src/main/resources
|
|
|
|
:jdbc-tests: {sql-tests}/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc
|
|
|
|
:security-tests: {sql-tests}/security/src/test/java/org/elasticsearch/xpack/qa/sql/security
|
2018-06-13 06:53:08 -04:00
|
|
|
:es-sql: Elasticsearch SQL
|
2017-12-13 10:19:31 -05:00
|
|
|
|
|
|
|
[partintro]
|
|
|
|
--
|
2018-06-12 12:46:08 -04:00
|
|
|
|
|
|
|
experimental[]
|
|
|
|
|
2017-12-13 10:19:31 -05:00
|
|
|
X-Pack includes a SQL feature to execute SQL against Elasticsearch
|
2018-06-13 06:53:08 -04:00
|
|
|
indices and return results in tabular format.
|
2017-12-13 10:19:31 -05:00
|
|
|
|
2018-06-13 06:53:08 -04:00
|
|
|
<<sql-overview, Overview>>::
|
|
|
|
Overview of {es-sql} and its features.
|
|
|
|
<<sql-getting-started, Getting Started>>::
|
2018-06-20 14:40:13 -04:00
|
|
|
Start using SQL right away in {es}.
|
|
|
|
<<sql-concepts, Concepts and Terminology>>::
|
|
|
|
Language conventions across SQL and {es}.
|
|
|
|
<<sql-security,Security>>::
|
|
|
|
Securing {es-sql} and {es}.
|
2017-12-13 10:19:31 -05:00
|
|
|
<<sql-rest,REST API>>::
|
|
|
|
Accepts SQL in a JSON document, executes it, and returns the
|
|
|
|
results.
|
|
|
|
<<sql-translate,Translate API>>::
|
|
|
|
Accepts SQL in a JSON document and translates it into a native
|
|
|
|
Elasticsearch query and returns that.
|
|
|
|
<<sql-cli,CLI>>::
|
2018-06-13 06:53:08 -04:00
|
|
|
Command-line application that connects to {es} to execute
|
2017-12-13 10:19:31 -05:00
|
|
|
SQL and print tabular results.
|
|
|
|
<<sql-jdbc,JDBC>>::
|
2018-06-13 06:53:08 -04:00
|
|
|
A JDBC driver for {es}.
|
|
|
|
<<sql-spec,SQL Language>>::
|
2018-06-20 14:40:13 -04:00
|
|
|
Overview of the {es-sql} language, such as supported data types, commands and
|
|
|
|
syntax.
|
2018-06-21 17:16:03 -04:00
|
|
|
<<sql-functions,Functions and Operators>>::
|
|
|
|
List of functions and operators supported.
|
2017-12-13 10:19:31 -05:00
|
|
|
--
|
|
|
|
|
2018-06-13 06:53:08 -04:00
|
|
|
include::overview.asciidoc[]
|
2018-01-03 15:06:36 -05:00
|
|
|
include::getting-started.asciidoc[]
|
2018-06-20 14:40:13 -04:00
|
|
|
include::concepts.asciidoc[]
|
|
|
|
include::security.asciidoc[]
|
2018-01-03 15:06:36 -05:00
|
|
|
include::endpoints/index.asciidoc[]
|
|
|
|
include::language/index.asciidoc[]
|
2018-06-21 17:16:03 -04:00
|
|
|
include::functions/index.asciidoc[]
|
2018-06-20 14:40:13 -04:00
|
|
|
include::appendix/index.asciidoc[]
|
2017-12-13 10:19:31 -05:00
|
|
|
|
|
|
|
:jdbc-tests!:
|