Skip to content

Commit

Permalink
ESQL docs: Warn about huge response (elastic#101568)
Browse files Browse the repository at this point in the history
Add a warning about huge response sizes.

Closes elastic#101490
  • Loading branch information
nik9000 committed Oct 31, 2023
1 parent 30a1284 commit 7e72ce7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/reference/esql/esql-kibana.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
++++

You can use {esql} in {kib} to query and aggregate your data, create
visualizations, and set up alerts.
visualizations, and set up alerts.

This guide shows you how to use {esql} in Kibana. To follow along with the
queries, load the "Sample web logs" sample data set by clicking *Try sample
Expand Down Expand Up @@ -72,7 +72,7 @@ following query is identical to the previous one:

[source,esql]
----
FROM kibana_sample_data_logs
FROM kibana_sample_data_logs
| LIMIT 10
----

Expand All @@ -82,7 +82,7 @@ bar:

image::images/esql/esql-expanded-query-bar.png[align="center"]

To return to a compact query bar, click the minimize editor button
To return to a compact query bar, click the minimize editor button
(image:images/esql/esql-icon-minimize-query-bar.svg[]).

[discrete]
Expand Down Expand Up @@ -253,4 +253,9 @@ quick statistics for that field.
of rows that are retrieved by the query and displayed in Discover. Any query or
aggregation runs on the full data set.
* Discover shows no more than 50 columns. If a query returns
more than 50 columns, Discover only shows the first 50.
more than 50 columns, Discover only shows the first 50.
* Querying many many indices at once without any filters can cause an error in
kibana which looks like `[esql] > Unexpected error from Elasticsearch: The
content length (536885793) is bigger than the maximum allowed string (536870888)`.
The response from {esql} is too long. Use <<esql-drop>> or <<esql-keep>> to limit the number
of fields returned.

0 comments on commit 7e72ce7

Please sign in to comment.