Skip to content

Commit d699d16

Browse files
authored
[DOCS] Adds runtime fields vs formula to Lens (elastic#107419)
* [DOCS] Adds runtime fields vs formula to Lens * Moved up in list * Review comment * Comments from Graham
1 parent 91bb2c5 commit d699d16

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/user/dashboard/lens.asciidoc

+10-8
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,16 @@ which is helpful when you want to make a comparison to the whole documentation s
275275
. Click *Advanced*, then select *Include documents without this field*.
276276
====
277277

278+
[discrete]
279+
[[when-do-i-use-runtime-fields-vs-formula]]
280+
.*When do I use runtime fields vs. formula?*
281+
[%collapsible]
282+
====
283+
Use runtime fields to format, concatenate, and extract document-level fields. Runtime fields work across all of {kib} and are best used for smaller computations without compromising performance.
284+
285+
Use formulas to compare multiple {es} aggregations that can be filtered or shifted in time. Formulas apply only to *Lens* panels and are computationally intensive.
286+
====
287+
278288
[discrete]
279289
[[is-it-possible-to-have-more-than-one-Y-axis-scale]]
280290
.*Can I add more than one y-axis scale to a visualization?*
@@ -384,11 +394,3 @@ Pagination in a data table is unsupported. To use pagination in data tables, cre
384394
====
385395
Specifying the color for a single data point, such as a single bar or line, is unsupported.
386396
====
387-
388-
//[discrete]
389-
//[[when-do-i-use-runtime-fields-vs-formula]]
390-
//.*When do I use runtime fields vs. formula?*
391-
//[%collapsible]
392-
//====
393-
//
394-
//====

0 commit comments

Comments
 (0)