Skip to content

Commit fdd2c9a

Browse files
authored
[Docs] [8.19] Add docs for ES|QL autocomplete in Console (#132541)
* add docs to 8.19 * Attempting to fix CI error + update text * attempt 2 * attempt 3
1 parent 69a1586 commit fdd2c9a

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

docs/reference/esql/esql-kibana.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ in-product reference documentation for all commands and functions or to get
5757
recommended queries that will help you get started.
5858

5959
// tag::autocomplete[]
60-
To make it easier to write queries, auto-complete offers suggestions with
61-
possible commands and functions:
60+
Discover suggests possible commands and functions to autocomplete your query:
6261

6362
image::images/esql/esql-kibana-auto-complete.png[align="center"]
6463
// end::autocomplete[]

docs/reference/esql/esql-rest.asciidoc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ James S.A. Corey |Leviathan Wakes |561 |2011-06-02T00:00:00.000Z
3838

3939
[discrete]
4040
[[esql-kibana-console]]
41-
==== Kibana Console
41+
==== Run the {esql} query API in Console
4242

43-
If you are using {kibana-ref}/console-kibana.html[Kibana Console] (which is
44-
highly recommended), take advantage of the triple quotes `"""` when creating the
45-
query. This not only automatically escapes double quotes (`"`) inside the query
46-
string but also supports multi-line requests:
43+
We recommend using {kibana-ref}/console-kibana.html[Console] to run the {esql}
44+
query API. When creating the query, using triple quotes (`"""`) allows you to
45+
use special characters like quotes (`"`) without having to escape them. They
46+
also make it easier to write multi-line requests:
4747

4848
// tag::esql-query-api[]
4949
[source,console]
@@ -60,6 +60,10 @@ POST /_query?format=txt
6060
----
6161
// TEST[setup:library]
6262

63+
Inside quotes, Console suggests possible commands and functions to autocomplete your query:
64+
65+
image::images/esql/console-esql-autocomplete.png[align="center"]
66+
6367
[discrete]
6468
[[esql-rest-format]]
6569
==== Response formats
184 KB
Loading

docs/reference/tab-widgets/esql/esql-getting-started-discover-console.asciidoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ example:
2323
POST /_query?format=txt
2424
{
2525
"query": """
26-
FROM sample_data
26+
FROM kibana_sample_data_logs
2727
"""
2828
}
2929
----
30+
31+
Inside quotes, Console suggests possible commands and functions to autocomplete your query:
32+
33+
image::images/esql/console-esql-autocomplete.png[align="center"]
34+
3035
// end::console[]
3136

3237

0 commit comments

Comments
 (0)