Commit graph

17 commits

Author SHA1 Message Date
Liam Thompson
9b7e9b5d59
[DOCS] ESQL goes GA (#108342) 2024-05-07 14:12:50 +02:00
Bogdan Pintea
a21242054b
ESQL: Document BUCKET as a grouping function (#107864)
This adds the documentation for BUCKET as a grouping function and the
addition of the "direct" invocation mode providing a span (in addition
to the auto mode).
2024-04-25 12:38:12 -04:00
Liam Thompson
33a71e3289
[DOCS] Refactor book-scoped variables in docs/reference/index.asciidoc (#107413)
* Remove `es-test-dir` book-scoped variable

* Remove `plugins-examples-dir` book-scoped variable

* Remove `:dependencies-dir:` and `:xes-repo-dir:` book-scoped variables

- In `index.asciidoc`, two variables (`:dependencies-dir:` and `:xes-repo-dir:`) were removed.
- In `sql/index.asciidoc`, the `:sql-tests:` path was updated to fuller path
- In `esql/index.asciidoc`, the `:esql-tests:` path was updated idem

* Replace `es-repo-dir` with `es-ref-dir`

* Move `:include-xpack: true` to few files that use it, remove from index.asciidoc
2024-04-17 14:37:07 +02:00
Bogdan Pintea
a2c2e8fe47
ESQL: extend BUCKET with spans. Turn it into a grouping function (#107272)
This extends `BUCKET` function to accept a two-parameters-only
invocation: the first parameter remains as is, while the second is a
span. It can be a numeric (floating point) span, if the first argument
is numeric, or a date period or time duration, if the first argument is
a date.

Also, the function can now be invoked with the alias BIN.

Additionally, the function has been turned into a grouping-only function
and thus can only be used within a `STATS` command.
2024-04-16 12:57:18 +02:00
Bogdan Pintea
d6f9d1e69e
ESQL: Rename AUTO_BUCKET to just BUCKET (#107197)
This renames the function AUTO_BUCKET to just BUCKET.
It also removes the experimental tagging of the function in the docs, making it generally available.
2024-04-10 12:21:08 +02:00
Liam Thompson
5f6b3ff7e6
[DOCS][ESQL] Add link to getting started notebook (#106345) 2024-03-14 17:33:31 +01:00
Luigi Dell'Aquila
f06a580eb7
ES|QL: Set default query LIMIT to 1000 (#105618) 2024-02-21 09:25:25 +01:00
Abdon Pijpelink
c6723a3c1d
[DOCS] More ES|QL backtick examples (#103995) 2024-01-08 12:13:33 +01:00
Abdon Pijpelink
84d9392d74
[DOCS] Warn against using ES|QL on production environments (#103797) 2024-01-02 17:00:22 +01:00
Abdon Pijpelink
3ace422668
[DOCS] More ES|QL getting started updates (#102980)
* [DOCS] More ES|QL getting started updates

* Change 'server.ip' into 'server_ip'
2023-12-05 14:37:52 +01:00
Abdon Pijpelink
df097aae01
[DOCS] Change ES|QL getting started guide for updated dataset (#102970) 2023-12-05 12:53:21 +01:00
Abdon Pijpelink
89faf4497e
[DOCS] Add ES|QL 'getting started' code snippets to CSV tests (#102653)
* [DOCS] Add ES|QL 'getting started' code snippets to CSV tests

* Change dots in columns names into underscores

* Add LIMIT 0 to ENRICH test

* Move code snippets out of docs.csv-spec

* Replace code snippets by includes

* Add missing semicolon
2023-12-05 10:47:39 +01:00
Abdon Pijpelink
b03939ec9d
[DOCS] Update ES|QL getting started for demo environment (#102134) 2023-11-14 13:17:48 +01:00
Abdon Pijpelink
c6a1f831e0
[DOCS] Getting started with ES|QL queries guide (#101634)
* Page structure

* More getting started content

* Fix build errors

* Small improvements

* Typo

* Add link to public demo environment

* Review feedback

* Update docs/reference/esql/esql-get-started.asciidoc

Co-authored-by: Andrei Stefan <astefan@users.noreply.github.com>

* Review feedback

---------

Co-authored-by: Andrei Stefan <astefan@users.noreply.github.com>
2023-11-03 13:47:09 +01:00
AlexB
b19ae8d5ee
esql docs: structure, examples, minor improvements (#101292)
Small improvements in ESQL docs and addition of examples

---------

Co-authored-by: Alexandros Batsakis <abatsakis@elastic.co>
Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-10-25 05:00:48 -07:00
Abdon Pijpelink
8ac4ba751e
Restructure ES|QL docs (#100806)
* Break out 'Limitations' into separate page

* Add REST API docs

* Restructure commands, functions, and operators refs

* Add placeholder for getting started guide

* Group 'Syntax', 'Metafields', and 'MV fields' under 'Language'

* Add placeholder for Kibana page

* Add link from landing page

* Apply uniform formatting to ACOS, CASE, and DATE_PARSE function refs

* Reword default LIMIT

* Add support for COUNT(*)

* Move 'Commands' and 'Functions and operators' to individual pages

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-10-17 17:36:14 +02:00
Abdon Pijpelink
1364f50cbf Edits 2023-04-17 11:18:51 +02:00