Skip to content

Commit 95cd179

Browse files
advanced options for main data configs
1 parent 9d62b82 commit 95cd179

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:::{dropdown} Advanced settings
2+
Several advanced options allow you to refine the behavior of the breakdown:
3+
4+
- **Include documents without the selected field**: Off by default.
5+
- **Group remaining values as "Other"**: On by default.
6+
- **Enable accuracy mode**: This option improves results for high-cardinality data, but increases the load on the {{es}} cluster.
7+
- **Include values**: Values from the breakdown dimension to always show a tile for.
8+
- **Exclude values**: Values from the breakdown dimension to always exclude from the displayed tiles.
9+
:::
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:::{dropdown} Advanced settings
2+
Depending on the data you defined, several options allow you to apply additional filtering to the data taken into account to compute the metric's value:
3+
4+
- **Normalize by unit**: Normalize the metric values to show per unit of time.
5+
- **Filter by**: Specify a query.
6+
- **Reduced time range**: Reduce the time range specified on the dashboard's time filter by the specified duration.
7+
- **Time shift**: Shift the time range by the specified duration.
8+
- **Hide zero values**: Don't show values equal to zero. This option is on by default.
9+
:::

explore-analyze/visualize/metric-charts.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ Customize your metric chart to display exactly the information you need, formatt
190190
**Value**
191191
: The main numeric value that appears prominently in your chart. When you drag a field onto the chart, {{kib}} suggests a function based on the field type. You can change it and use aggregation functions like `Sum`, `Average`, `Count`, `Median`, and more, or create custom calculations with formulas. Refer to [](/explore-analyze/visualize/lens.md#lens-formulas) for examples, or to the {icon}`documentation` **Formula reference** available from Lens.
192192

193-
% todo: advanced options
193+
:::{include} ../_snippets/lens-value-advanced-settings.md
194+
:::
194195

195196
**Appearance**
196197
: Define the formatting of the primary metric, including:
@@ -212,7 +213,8 @@ Customize your metric chart to display exactly the information you need, formatt
212213
* Different aggregations on the same data (for example, showing both average and median response times)
213214
* Related metrics for context (for example, showing total count alongside an average)
214215

215-
% todo: advanced options
216+
:::{include} ../_snippets/lens-value-advanced-settings.md
217+
:::
216218

217219
**Appearance**
218220
: Define the formatting of the secondary metric, including:
@@ -227,7 +229,8 @@ Customize your metric chart to display exactly the information you need, formatt
227229
**Value**
228230
: An optional reference value that defines the upper bound for your metric. When you specify a maximum, you can show a progress bar by setting the primary metric's **Supporting visualization** option to **Bar**. This is useful for showing progress toward goals or capacity limits.
229231

230-
% todo: advanced options
232+
:::{include} ../_snippets/lens-value-advanced-settings.md
233+
:::
231234

232235
**Appearance**
233236
: Define the formatting of the secondary metric, including:
@@ -236,9 +239,15 @@ Customize your metric chart to display exactly the information you need, formatt
236239
### Breakdown settings [breakdown-options]
237240

238241
**Data**
239-
: Split your metric into multiple tiles based on a categorical field. Each unique value creates its own tile, allowing you to compare metrics across regions, products, time periods, or any other dimensions. You can assign [consistent colors](lens.md#assign-colors-to-terms) to each breakdown value for better recognition across your dashboards.
242+
: Split your metric into multiple tiles based on a categorical field. Each unique value creates its own tile, allowing you to compare metrics across regions, products, time periods, or any other dimensions. You can optionally specify the following options:
240243

241-
% todo: basic and advanced options
244+
- **Number of values**: The number of tiles to show. If more values are available for the selected breakdown field, an additional tile named **Other** shows if the **Group remaining values as "Other"** advanced option is on.
245+
- **Rank by**: The dimension top values are ranked by.
246+
- **Rank direction**: The direction to use for the ranking.
247+
- **Collapse by**: Aggregate values of the various tiles into a single number. Possible aggregation options are `None` (default), `Sum`, `Average`, `Min`, and `Max`.
248+
249+
:::{include} ../_snippets/lens-breakdown-advanced-settings.md
250+
:::
242251

243252
**Appearance**
244253
: Define the formatting of the secondary metric, including:

0 commit comments

Comments
 (0)