From 07f8e265d1cc529a09708054cf55fd23bbb4ec6e Mon Sep 17 00:00:00 2001 From: Florent Le Borgne Date: Fri, 20 Jun 2025 17:01:19 +0200 Subject: [PATCH] Updates --- docs/reference/esql/esql-kibana.asciidoc | 28 +++++++++++++++++++++++- docs/reference/images/keyboard.svg | 3 +++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 docs/reference/images/keyboard.svg diff --git a/docs/reference/esql/esql-kibana.asciidoc b/docs/reference/esql/esql-kibana.asciidoc index 5eb4f1d7a0446..c081ea86133eb 100644 --- a/docs/reference/esql/esql-kibana.asciidoc +++ b/docs/reference/esql/esql-kibana.asciidoc @@ -41,7 +41,7 @@ After switching to {esql} mode, the query bar shows your previous KQL or Lucene [source,esql] ---- -from kibana_sample_data_logs | limit 10 +FROM kibana_sample_data_logs | LIMIT 10 ---- Every query starts with a <>. In this query, the @@ -224,6 +224,32 @@ FROM kibana_sample_data_logs | WHERE timestamp > NOW() - 15minutes ---- + +==== Keyboard shortcuts + +The ES|QL editor supports several shortcuts to help you write and run your queries faster: + +|=== +| Mac | Windows/Linux | Description + +| `Cmd + Enter` +| `Ctrl + Enter` +| Run a query + +| `Cmd + /` +| `Ctrl + /` +| Comment or uncomment a line +|=== + +TIP: You can find the list of shortcuts directly from the editor. Look for the image:images/keyboard.svg[title=keyboard,width="2%"] icon. + +[float] +=== LOOKUP JOINs + +The ES|QL editor supports {ref}/esql-commands.html#esql-lookup-join[`LOOKUP JOIN`] commands and suggests lookup mode indices and join condition fields. + +image::https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blte43a30a93241d650/67c23670045f5839e5bfd1e4/lookup-join-demo.gif[Using the LOOKUP JOIN command to autocomplete an ES|QL query] + [discrete] [[esql-kibana-visualizations]] === Analyze and visualize data diff --git a/docs/reference/images/keyboard.svg b/docs/reference/images/keyboard.svg new file mode 100644 index 0000000000000..94e9663319835 --- /dev/null +++ b/docs/reference/images/keyboard.svg @@ -0,0 +1,3 @@ + + +