Skip to content

Commit

Permalink
[DOCS] Adds runtime fields vs formula to Lens (elastic#107419)
Browse files Browse the repository at this point in the history
* [DOCS] Adds runtime fields vs formula to Lens

* Moved up in list

* Review comment

* Comments from Graham
  • Loading branch information
KOTungseth authored Aug 2, 2021
1 parent 91bb2c5 commit d699d16
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/user/dashboard/lens.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,16 @@ which is helpful when you want to make a comparison to the whole documentation s
. Click *Advanced*, then select *Include documents without this field*.
====

[discrete]
[[when-do-i-use-runtime-fields-vs-formula]]
.*When do I use runtime fields vs. formula?*
[%collapsible]
====
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.
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.
====

[discrete]
[[is-it-possible-to-have-more-than-one-Y-axis-scale]]
.*Can I add more than one y-axis scale to a visualization?*
Expand Down Expand Up @@ -384,11 +394,3 @@ Pagination in a data table is unsupported. To use pagination in data tables, cre
====
Specifying the color for a single data point, such as a single bar or line, is unsupported.
====

//[discrete]
//[[when-do-i-use-runtime-fields-vs-formula]]
//.*When do I use runtime fields vs. formula?*
//[%collapsible]
//====
//
//====

0 comments on commit d699d16

Please sign in to comment.