Create visualization
- Base URL
-
https://{kibana_url}
- POST /api/visualizations
- POST /s/{space_id}/api/visualizations
Creates a Lens visualization and saves it to the library.
ES|QL visualizations cannot be created through this endpoint.
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
Metric chart configuration for standard queries
-
breakdown_byunion anyOf - Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
formatunion anyOf -
Number display format for the dimension value.
- Any of:
-
compactboolean -
When
true, uses short unit suffixes (for example,msinstead ofMilliseconds). Defaults totrue. Ignored forauto-approximate. -
fromenumrequired -
Source time unit of the raw field value, including fine-grained units (
ps,ns,us) in addition to standard units. This describes how the stored data is encoded, not a query duration literal. -
Values:
psnsusmssminhdwmoy -
rank_byunion anyOf - Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
data_sourceunion anyOfrequired - Any of:
-
field_settingsmap string to anyOf -
property name*additional propertyunion anyOf -
custom_descriptionstring · min length: 1 -
Add a description to the field. It's displayed next to the field on the Discover, Lens, and Data View Management pages.
-
custom_labelstring · min length: 1 -
Create a label to display in place of the field name in Discover, Maps, Lens, Visualize, and TSVB. Useful for shortening a long field name. Queries and filters use the original field name.
-
formatobject -
Set your preferred format for displaying the value. Changing the format can affect the value and prevent highlighting in Discover.
-
index_patternstring · min length: 1required -
The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
-
drilldownsunion anyOf[] · max items: 100 - Any of:
-
urlstringrequired -
Templated Url. Variables documented at https://www.elastic.co/docs/explore-analyze/dashboards/drilldowns#url-template-variable
-
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
- Any of:
-
conditionunion oneOfrequired -
A filter condition with strict operator/value type matching.
-
One of:
(determined by
operator) -
negateboolean -
When
true, the filter is negated and matches documents that do NOT satisfy the condition. Defaults tofalse. -
valueobjectrequired -
Boundary values for a range comparison.
-
formatstring -
Elasticsearch date format string applied when parsing date boundary values. For example,
strict_date_optional_timeorepoch_millis. -
controlled_bystring -
Identifier of the panel that manages this filter. When set, the filter is treated as owned by that panel.
-
disabledboolean -
When
true, the filter is inactive and does not affect query results. Defaults tofalse. -
controlled_bystring -
Identifier of the panel that manages this filter. When set, the filter is treated as owned by that panel.
-
disabledboolean -
When
true, the filter is inactive and does not affect query results. Defaults tofalse. -
fieldstring -
Field name for scripted filters where the field cannot be extracted from the DSL query.
-
is_multi_indexboolean -
When
true, the filter can be applied across multiple indices. Defaults tofalse. -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 2required -
Metric dimensions to display. The first must be a primary metric; an optional second must be a secondary metric.
- Any of:
-
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
- Any of:
-
max_valueunion anyOfrequired -
Metric dimension configuration, supporting field-based aggregations (count, sum, average, median, standard deviation, unique count, last value), percentile operations, time-series operations (differences, moving average, cumulative sum, counter rate), and mathematical formulas.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
background_chartunion anyOf -
Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
-
Same options as
background_chartinCount Metric Operation -
colorunion anyOf -
Color configuration for the primary metric value or background.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
compareunion anyOf -
Compare the secondary metric to a baseline value or to the primary metric.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
stylingobject -
Visual chart styling options
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Number or percentage format with optional decimal places, suffix, and compact notation.
Data size format in bits or bytes, with optional decimal places and suffix.
Duration format between time units.
Legacy duration format used when the asCode.useGASchemas feature flag is disabled. Accepts free-form unit strings (no enum validation) to preserve pre-GA behavior.
Terms ranked alphabetically.
Terms ranked by rarity.
Terms ranked by a linked metric.
Terms ranked by custom operation.
Terms ranked by the last value of a field.
Terms ranked by count, either of all documents or of a specific field.
Terms ranked by a percentile of a numeric field, for example the 95th percentile of response time.
Terms ranked by the percentile rank of a single value: the proportion of field values at or below that value.
Display overrides for a field. These settings can define a custom label, description, and format.
A filter that evaluates a single field condition such as equality, range, or existence.
operator: is
Matches documents where field equals a single specified value.
operator: is_one_of
Matches documents where field equals any value in a provided list.
operator: range
Matches documents where field falls within a specified numeric or date range.
operator: exists
Matches documents where field exists and contains a non-null value.
A filter that combines multiple conditions or nested groups using a logical and or or operator.
A filter expressed as a raw Elasticsearch Query DSL object, used for queries that cannot be represented by condition or group filters.
A filter that applies an Elasticsearch geo query, used for geographic boundary and shape matching.
Bar chart shown as background context behind the primary metric value.
Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
Color by absolute value configuration
Color by percentage value configuration
Color by value using a palette, with colors distributed across the range of values.
Legacy color by value configuration
Fixed color for all values in the dimension.
Legacy Metric configuration using a data view. Superseded by the Metric chart type.
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired - Any of:
-
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Color target:
valuecolors the metric text,backgroundcolors the cell or panel background. -
Values:
valuebackground -
colorunion anyOf -
Color configuration based on the metric value. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Color by absolute value configuration
Color by value using a palette, with colors distributed across the range of values.
Legacy color by absolute value configuration
XY chart configuration for DSL queries
-
axisobject -
Axis configuration for X, Y, and Y2 axes. The Y axis is on the start (leading) side, the Y2 axis is on the end (trailing) side.
-
xobject -
X-axis configuration
-
yobject -
Y-axis configuration with scale and bounds. The axis position is determined by the key: y renders on the start side (left in vertical charts), y2 on the end side (right in vertical charts).
-
domainunion oneOfrequired -
Y-axis domain configuration
-
One of:
(determined by
type) -
y2object -
Y-axis configuration with scale and bounds. The axis position is determined by the key: y renders on the start side (left in vertical charts), y2 on the end side (right in vertical charts).
-
domainunion anyOfrequired -
Y-axis domain configuration
- Any of:
-
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
layersunion anyOf[] · min items: 1 · max items: 100required -
Chart layers
- Any of:
-
breakdown_byunion anyOf - Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
- Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
typeenumrequired -
Chart type for the data layer
-
Values:
areaarea_percentagearea_stackedbarbar_horizontalbar_horizontal_stackedbar_horizontal_percentagebar_percentagebar_stackedline -
xunion anyOf - Any of:
-
yunion anyOf[] · max items: 100required -
Array of metrics to display on Y-axis
- Any of:
-
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
axisenum -
The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
-
Values:
yy2 -
colorunion anyOf -
Static color of the Y metric. Defaults to
auto. Ignored with a non-collapsedbreakdown_by. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
thresholdsunion anyOf[] · min items: 1 · max items: 100required -
Array of reference line thresholds
- Any of:
-
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
multi_valueboolean · default: false -
Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
-
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
axisenum -
The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
-
Values:
xyy2 -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
iconenum -
Icon to display on the reference line
-
Values:
asteriskalertbellboltbugcircleeditor_commentflagheartmap_markerpin_filledstar_emptystar_filledtagtriangle -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
eventsunion anyOf[] · min items: 1 · max items: 100required -
Array of annotation configurations
- Any of:
-
legendunion anyOf -
Legend configuration for XY chart
- Any of:
-
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
stylingobject -
Visual styling options for the chart
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
type: full
Uses the full chart domain, including baseline expansion when applicable (for example, includes zero for bar-like series).
type: fit
Uses tight domain bounds from the observed data minimum to maximum, without baseline expansion.
type: custom
Uses explicitly provided domain bounds (min and max).
Uses the full chart domain, including baseline expansion when applicable (for example, includes zero for bar-like series).
Uses tight domain bounds from the observed data minimum to maximum, without baseline expansion.
Uses explicitly provided domain bounds (min and max).
Data layer for standard queries with metrics and buckets
Palette color assignment for specific categorical values. Unmapped values receive the unassigned color.
Gradient color mapping across categorical values.
Reference line layer for standard queries
Layer containing annotations (query-based, points, and ranges)
Annotation from query results matching a filter
Manual point annotation at specific timestamp
Manual range annotation spanning time interval
Outside legend positioned horizontal (top/bottom) of the chart
Outside legend positioned vertical (left/right) of the chart
Inside legend
Gauge configuration using a data view.
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired - Any of:
-
colorunion anyOf -
Color configuration for the gauge fill.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
multi_valueboolean · default: false -
Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
-
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
colorunion anyOf -
Color configuration for the gauge fill.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
goalunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
maxunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
minunion anyOf -
Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
-
Same options as
goalinCount Metric Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
Color by absolute value configuration
Color by percentage value configuration
Color by value using a palette, with colors distributed across the range of values.
Legacy color by value configuration
Heatmap configuration using a data view.
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired - Any of:
-
colorunion anyOf -
Color scale configuration for the heatmap cells.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Color scale configuration for the heatmap cells.
-
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
xunion anyOfrequired -
Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
- Any of:
-
yunion anyOf -
Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
-
Same options as
xinHeatmap Chart (DSL)
Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
Color by absolute value configuration
Color by percentage value configuration
Color by value using a palette, with colors distributed across the range of values.
Legacy color by value configuration
Tag Cloud configuration using a data view.
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
tag_byunion anyOfrequired - Any of:
-
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Region Map configuration using a data view, mapping metric values to geographic regions by color.
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Metric dimension using a field-based aggregation or a mathematical formula.
- Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
regionunion anyOfrequired - Any of:
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Datatable state configuration for standard queries
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 1000required -
Array of metrics to display as columns in the datatable
- Any of:
-
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
multi_valueboolean · default: false -
Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
-
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
colorunion anyOf -
Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinCount Metric Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
rowsunion anyOf[] · min items: 1 · max items: 50 -
Array of operations to split the datatable rows by
- Any of:
-
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color configuration for datatable rows. Defaults to
auto. Ignored withoutapply_color_to. - Any of:
-
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color configuration for datatable rows. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color configuration for datatable rows. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color configuration for datatable rows. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
apply_color_toenum -
Column color target:
valuefor cell text,backgroundfor cell background, orbadgefor a badge overlay. -
Values:
valuebackgroundbadge -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color configuration for datatable rows. Defaults to
auto. Ignored withoutapply_color_to. -
Same options as
colorinDate Histogram Operation -
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
split_metrics_byunion anyOf[] · min items: 1 · max items: 20 -
Array of operations to split the metric columns by
-
Same options as
xinHeatmap Chart (DSL) -
stylingobject -
Visual chart styling options
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
Color by absolute value configuration
Color by percentage value configuration
Color by value using a palette, with colors distributed across the range of values.
Legacy color by value configuration
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
Palette color assignment for specific categorical values. Unmapped values receive the unassigned color.
Gradient color mapping across categorical values.
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
Palette color assignment for specific categorical values. Unmapped values receive the unassigned color.
Gradient color mapping across categorical values.
Pie chart configuration for standard queries
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
- Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 100required -
Array of metric configurations (minimum 1)
- Any of:
-
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Mosaic chart configuration schema for data source queries (non-ES|QL mode), defining metrics and breakdown dimensions
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_breakdown_byunion anyOf[] · min items: 1 · max items: 100 -
Array of group breakdown dimensions (minimum 1)
- Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
- Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Treemap chart configuration schema for data source queries (non-ES|QL mode), defining metrics and breakdown dimensions
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
- Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 100required -
Array of metric configurations (minimum 1)
- Any of:
-
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Waffle chart configuration for standard queries
-
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
- Any of:
-
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
rank_byunion anyOf -
Same options as
rank_byinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
collapse_byenum -
Aggregation function used to collapse a breakdown dimension into a single value.
-
Values:
avgsummaxmin -
colorunion anyOf -
Color mapping for dimension values, either categorical (for specific values) or as a gradient.
-
Same options as
colorinDate Histogram Operation -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 100required -
Array of metric configurations (minimum 1)
- Any of:
-
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
ofunion anyOfrequired -
Same options as
ofinDifferences Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
fieldstring -
Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
colorunion anyOf -
Static color of the metric. Defaults to
auto. Ignored with a non-collapsedgroup_bydimension. - Any of:
-
filterobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
formatunion anyOf -
Number display format for the dimension value.
-
Same options as
formatinTerms Operation -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Responses
Created
-
dataunion anyOfrequired - Any of:
-
breakdown_byunion anyOf -
Same options as
breakdown_byinMetric Chart (DSL) -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 2required -
Metric dimensions to display. The first must be a primary metric; an optional second must be a secondary metric.
-
Same options as
metricsinMetric Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Same options as
metricinLegacy Metric Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
axisobject -
Axis configuration for X, Y, and Y2 axes. The Y axis is on the start (leading) side, the Y2 axis is on the end (trailing) side.
-
Same fields as
axisinXY Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
layersunion anyOf[] · min items: 1 · max items: 100required -
Chart layers
-
Same options as
layersinXY Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Same options as
metricinGauge Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Same options as
metricinHeatmap Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
xunion anyOfrequired -
Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
-
Same options as
xinHeatmap Chart (DSL) -
yunion anyOf -
Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
-
Same options as
xinHeatmap Chart (DSL) -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Same options as
metricinTag Cloud Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
tag_byunion anyOfrequired -
Same options as
tag_byinTag Cloud Chart (DSL) -
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Metric dimension using a field-based aggregation or a mathematical formula.
-
Same options as
metricinRegion Map (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
regionunion anyOfrequired -
Same options as
regioninRegion Map (DSL) -
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 1000required -
Array of metrics to display as columns in the datatable
-
Same options as
metricsinDatatable (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
rowsunion anyOf[] · min items: 1 · max items: 50 -
Array of operations to split the datatable rows by
-
Same options as
rowsinDatatable (DSL) -
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
split_metrics_byunion anyOf[] · min items: 1 · max items: 20 -
Array of operations to split the metric columns by
-
Same options as
xinHeatmap Chart (DSL) -
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
-
Same options as
group_byinPie Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 100required -
Array of metric configurations (minimum 1)
-
Same options as
metricsinPie Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_breakdown_byunion anyOf[] · min items: 1 · max items: 100 -
Array of group breakdown dimensions (minimum 1)
-
Same options as
group_breakdown_byinMosaic Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
-
Same options as
group_byinMosaic Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricunion anyOfrequired -
Same options as
metricinMosaic Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
-
Same options as
group_byinTreemap Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 100required -
Array of metric configurations (minimum 1)
-
Same options as
metricsinTreemap Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps. -
data_sourceunion anyOfrequired -
Same options as
data_sourceinMetric Chart (DSL) -
drilldownsunion anyOf[] · max items: 100 -
Same options as
drilldownsinMetric Chart (DSL) -
filtersunion anyOf[] · max items: 100 -
Filters applied to the panel
-
Same options as
filtersinMetric Chart (DSL) -
group_byunion anyOf[] · min items: 1 · max items: 100 -
Array of breakdown dimensions (minimum 1)
-
Same options as
group_byinWaffle Chart (DSL) -
ignore_global_filtersboolean · default: false -
When
true, ignores global filters when fetching data for this layer. Defaults tofalse. -
metricsunion anyOf[] · min items: 1 · max items: 100required -
Array of metric configurations (minimum 1)
-
Same options as
metricsinWaffle Chart (DSL) -
queryobject -
A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
-
samplingnumber · min: 0 · max: 1 · default: 1 -
Sampling factor between 0 (no sampling) and 1 (full sampling).
-
time_rangeobject -
Specifies the time range for a query.
-
fromstringrequired -
The start of the time range. Accepts Elasticsearch date math expressions (for example,
now-7d) or ISO 8601 timestamps. -
modeenum -
The time range mode. Use
absolutefor fixed start and end timestamps. Userelativefor date math expressions that are re-evaluated at query time (for example,now-7d). -
Values:
absoluterelative -
tostringrequired -
The end of the time range. Accepts Elasticsearch date math expressions (for example,
now) or ISO 8601 timestamps.
Metric chart configuration for standard queries
Legacy Metric configuration using a data view. Superseded by the Metric chart type.
XY chart configuration for DSL queries
Gauge configuration using a data view.
Heatmap configuration using a data view.
Tag Cloud configuration using a data view.
Region Map configuration using a data view, mapping metric values to geographic regions by color.
Datatable state configuration for standard queries
Pie chart configuration for standard queries
Mosaic chart configuration schema for data source queries (non-ES|QL mode), defining metrics and breakdown dimensions
Treemap chart configuration schema for data source queries (non-ES|QL mode), defining metrics and breakdown dimensions
Waffle chart configuration for standard queries
Malformed request
Unauthorized
Forbidden
Internal Server Error