diff --git a/.apigentools-info b/.apigentools-info index 09645d506569f..baffe0edea569 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-19 12:13:56.197351", - "spec_repo_commit": "a171e0a8" + "regenerated": "2025-06-20 14:29:36.741939", + "spec_repo_commit": "e790a980" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-19 12:14:05.477000", - "spec_repo_commit": "a171e0a8" + "regenerated": "2025-06-20 14:29:45.866257", + "spec_repo_commit": "e790a980" } } } \ No newline at end of file diff --git a/content/en/api/v1/dashboards/widgets.json b/content/en/api/v1/dashboards/widgets.json index 271a43e2f768c..72d0a932590bc 100644 --- a/content/en/api/v1/dashboards/widgets.json +++ b/content/en/api/v1/dashboards/widgets.json @@ -1391,10 +1391,16 @@ "title_size": "string", "type": "geomap", "view": { + "custom_extent": [ + -30, + -40, + 40, + 30 + ], "focus": "WORLD" } }, - "html": "
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

A list of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Array of one request object to display in the widget. The request must contain a group-by tag whose value is a country ISO code.

\n

See the Request JSON schema documentation\nfor information about building the REQUEST_SCHEMA.

\n
\n
\n
\n
\n
\n

columns

\n
\n

[object]

\n

Widget columns.

\n
\n
\n
\n
\n
\n

field [required]

\n
\n

string

\n

Widget column field.

\n
\n \n
\n
\n
\n
\n
\n

width [required]

\n
\n

enum

\n

Widget column width. \nAllowed enum values: auto,compact,full

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

The widget metrics query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

query

\n
\n

object

\n

Updated list stream widget.

\n
\n
\n
\n
\n
\n

clustering_pattern_field_path

\n
\n

string

\n

Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.

\n
\n \n
\n
\n
\n
\n
\n

compute

\n
\n

[object]

\n

Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation value. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg,earliest,latest,most_frequent

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Source from which to query items to display in the stream. \nAllowed enum values: logs_stream,audit_stream,ci_pipeline_stream,ci_test_stream,rum_issue_stream,apm_issue_stream,trace_stream,logs_issue_stream,logs_pattern_stream,logs_transaction_stream,event_stream,rum_stream,llm_observability_stream

default: apm_issue_stream

\n
\n \n
\n
\n
\n
\n
\n

event_size

\n
\n

enum

\n

Size to use to display an event. \nAllowed enum values: s,l

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

List of indexes.

\n
\n \n
\n
\n
\n
\n
\n

query_string [required]

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Which column and order to sort by

\n
\n
\n
\n
\n
\n

column [required]

\n
\n

string

\n

Facet path for the column

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style [required]

\n
\n

object

\n

The style to apply to the widget.

\n
\n
\n
\n
\n
\n

palette [required]

\n
\n

string

\n

The color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n

palette_flip [required]

\n
\n

boolean

\n

Whether to flip the palette tones.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

The size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the geomap widget. \nAllowed enum values: geomap

default: geomap

\n
\n \n
\n
\n
\n
\n
\n

view [required]

\n
\n

object

\n

The view of the world that the map should render.

\n
\n
\n
\n
\n
\n

focus [required]

\n
\n

string

\n

The 2-letter ISO code of a country to focus the map on. Or WORLD.

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

A list of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Array of one request object to display in the widget. The request must contain a group-by tag whose value is a country ISO code.

\n

See the Request JSON schema documentation\nfor information about building the REQUEST_SCHEMA.

\n
\n
\n
\n
\n
\n

columns

\n
\n

[object]

\n

Widget columns.

\n
\n
\n
\n
\n
\n

field [required]

\n
\n

string

\n

Widget column field.

\n
\n \n
\n
\n
\n
\n
\n

width [required]

\n
\n

enum

\n

Widget column width. \nAllowed enum values: auto,compact,full

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

The widget metrics query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

query

\n
\n

object

\n

Updated list stream widget.

\n
\n
\n
\n
\n
\n

clustering_pattern_field_path

\n
\n

string

\n

Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.

\n
\n \n
\n
\n
\n
\n
\n

compute

\n
\n

[object]

\n

Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation value. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg,earliest,latest,most_frequent

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Source from which to query items to display in the stream. \nAllowed enum values: logs_stream,audit_stream,ci_pipeline_stream,ci_test_stream,rum_issue_stream,apm_issue_stream,trace_stream,logs_issue_stream,logs_pattern_stream,logs_transaction_stream,event_stream,rum_stream,llm_observability_stream

default: apm_issue_stream

\n
\n \n
\n
\n
\n
\n
\n

event_size

\n
\n

enum

\n

Size to use to display an event. \nAllowed enum values: s,l

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

List of indexes.

\n
\n \n
\n
\n
\n
\n
\n

query_string [required]

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Which column and order to sort by

\n
\n
\n
\n
\n
\n

column [required]

\n
\n

string

\n

Facet path for the column

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style [required]

\n
\n

object

\n

The style to apply to the widget.

\n
\n
\n
\n
\n
\n

palette [required]

\n
\n

string

\n

The color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n

palette_flip [required]

\n
\n

boolean

\n

Whether to flip the palette tones.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

The size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the geomap widget. \nAllowed enum values: geomap

default: geomap

\n
\n \n
\n
\n
\n
\n
\n

view [required]

\n
\n

object

\n

The view of the world that the map should render.

\n
\n
\n
\n
\n
\n

custom_extent

\n
\n

[number]

\n

A custom extent of the map defined by an array of four numbers in the order [minLongitude, minLatitude, maxLongitude, maxLatitude].

\n
\n \n
\n
\n
\n
\n
\n

focus [required]

\n
\n

string

\n

The 2-letter ISO code of a country to focus the map on. Or WORLD.

\n
\n \n
\n
\n
\n
" }, "group": { "json_curl": { @@ -4926,7 +4932,7 @@ "title": "string", "type": "split_group" }, - "html": "
\n
\n
\n
\n

has_uniform_y_axes

\n
\n

boolean

\n

Normalize y axes across graphs

\n
\n \n
\n
\n
\n
\n
\n

size [required]

\n
\n

enum

\n

Size of the individual graphs in the split. \nAllowed enum values: xs,sm,md,lg

\n
\n \n
\n
\n
\n
\n
\n

source_widget_definition [required]

\n
\n

 <oneOf>

\n

The original widget we are splitting on.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The Change graph shows you the change in a value over the time period chosen.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Array of one request object to display in the widget.

\n

See the dedicated Request JSON schema documentation\n to learn how to build the REQUEST_SCHEMA.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

change_type

\n
\n

enum

\n

Show the absolute or the relative change. \nAllowed enum values: absolute,relative

\n
\n \n
\n
\n
\n
\n
\n

compare_to

\n
\n

enum

\n

Timeframe used for the change comparison. \nAllowed enum values: hour_before,day_before,week_before,month_before

\n
\n \n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

increase_good

\n
\n

boolean

\n

Whether to show increase as good.

\n
\n \n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

order_by

\n
\n

enum

\n

What to order by. \nAllowed enum values: change,name,present,past

\n
\n \n
\n
\n
\n
\n
\n

order_dir

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

show_present

\n
\n

boolean

\n

Whether to show the present value.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of the widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the change widget. \nAllowed enum values: change

default: change

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

This visualization displays a series of values by country on a world map.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

A list of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Array of one request object to display in the widget. The request must contain a group-by tag whose value is a country ISO code.

\n

See the Request JSON schema documentation\nfor information about building the REQUEST_SCHEMA.

\n
\n
\n
\n
\n
\n

columns

\n
\n

[object]

\n

Widget columns.

\n
\n
\n
\n
\n
\n

field [required]

\n
\n

string

\n

Widget column field.

\n
\n \n
\n
\n
\n
\n
\n

width [required]

\n
\n

enum

\n

Widget column width. \nAllowed enum values: auto,compact,full

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

The widget metrics query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

query

\n
\n

object

\n

Updated list stream widget.

\n
\n
\n
\n
\n
\n

clustering_pattern_field_path

\n
\n

string

\n

Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.

\n
\n \n
\n
\n
\n
\n
\n

compute

\n
\n

[object]

\n

Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation value. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg,earliest,latest,most_frequent

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Source from which to query items to display in the stream. \nAllowed enum values: logs_stream,audit_stream,ci_pipeline_stream,ci_test_stream,rum_issue_stream,apm_issue_stream,trace_stream,logs_issue_stream,logs_pattern_stream,logs_transaction_stream,event_stream,rum_stream,llm_observability_stream

default: apm_issue_stream

\n
\n \n
\n
\n
\n
\n
\n

event_size

\n
\n

enum

\n

Size to use to display an event. \nAllowed enum values: s,l

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

List of indexes.

\n
\n \n
\n
\n
\n
\n
\n

query_string [required]

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Which column and order to sort by

\n
\n
\n
\n
\n
\n

column [required]

\n
\n

string

\n

Facet path for the column

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style [required]

\n
\n

object

\n

The style to apply to the widget.

\n
\n
\n
\n
\n
\n

palette [required]

\n
\n

string

\n

The color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n

palette_flip [required]

\n
\n

boolean

\n

Whether to flip the palette tones.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

The size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the geomap widget. \nAllowed enum values: geomap

default: geomap

\n
\n \n
\n
\n
\n
\n
\n

view [required]

\n
\n

object

\n

The view of the world that the map should render.

\n
\n
\n
\n
\n
\n

focus [required]

\n
\n

string

\n

The 2-letter ISO code of a country to focus the map on. Or WORLD.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Query values display the current value of a given metric, APM, or log query.

\n
\n
\n
\n
\n
\n

autoscale

\n
\n

boolean

\n

Whether to use auto-scaling or not.

\n
\n \n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

custom_unit

\n
\n

string

\n

Display a unit of your choice on the widget.

\n
\n \n
\n
\n
\n
\n
\n

precision

\n
\n

int64

\n

Number of decimals to show. If not defined, the widget uses the raw value.

\n
\n \n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Widget definition.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

TODO.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

text_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

timeseries_background

\n
\n

object

\n

Set a timeseries on the widget background.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Timeseries is made using an area or bars. \nAllowed enum values: bars,area

default: area

\n
\n \n
\n
\n
\n
\n
\n

yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the query value widget. \nAllowed enum values: query_value

default: query_value

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation.

\n
\n
\n
\n
\n
\n

color_by_groups

\n
\n

[string]

\n

List of groups used for colors.

\n
\n \n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

object

\n

Widget definition.

\n
\n
\n
\n
\n
\n

table

\n
\n

object

\n

Scatterplot request containing formulas and functions.

\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of Scatterplot formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

dimension [required]

\n
\n

enum

\n

Dimension of the Scatterplot. \nAllowed enum values: x,y,radius,color

\n
\n \n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

x

\n
\n

object

\n

Updated scatter plot.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

y

\n
\n

object

\n

Updated scatter plot.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the scatter plot widget. \nAllowed enum values: scatterplot

default: scatterplot

\n
\n \n
\n
\n
\n
\n
\n

xaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

Sunbursts are spot on to highlight how groups contribute to the total of a query.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

hide_total

\n
\n

boolean

\n

Show the total value in this widget.

\n
\n \n
\n
\n
\n
\n
\n

legend

\n
\n

 <oneOf>

\n

Configuration of the legend.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Configuration of table-based legend.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Whether or not to show a table legend. \nAllowed enum values: table,none

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Configuration of inline or automatic legends.

\n
\n
\n
\n
\n
\n

hide_percent

\n
\n

boolean

\n

Whether to hide the percentages of the groups.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

Whether to hide the values of the groups.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Whether to show the legend inline or let it be automatically generated. \nAllowed enum values: inline,automatic

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of sunburst widget requests.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Widget style definition.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Sunburst widget. \nAllowed enum values: sunburst

default: sunburst

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

has_search_bar

\n
\n

enum

\n

Controls the display of the search bar. \nAllowed enum values: always,never,auto

\n
\n \n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Widget definition.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

The column name (defaults to the metric name).

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

apm_stats_query

\n
\n

object

\n

The APM stats query for table and distributions widgets.

\n
\n
\n
\n
\n
\n

columns

\n
\n

[object]

\n

Column properties used by the front end for display.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

A user-assigned alias for the column.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Column name.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

Environment name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Operation name associated with service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag [required]

\n
\n

string

\n

The organization's host group name and value.

\n
\n \n
\n
\n
\n
\n
\n

resource

\n
\n

string

\n

Resource name.

\n
\n \n
\n
\n
\n
\n
\n

row_type [required]

\n
\n

enum

\n

The level of detail for the request. \nAllowed enum values: service,resource,span

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

Service name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

[string]

\n

A list of display modes for each table cell.

\n
\n \n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

For metric queries, the number of lines to show in the table. Only one request should have this property.

\n
\n \n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

text_formats

\n
\n

[array]

\n

List of text formats for columns produced by tags.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the table widget. \nAllowed enum values: query_table

default: query_table

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

events

\n
\n

[object]

\n

List of widget events.

\n
\n
\n
\n
\n
\n

q [required]

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

tags_execution

\n
\n

string

\n

The execution method for multi-value filters.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

legend_columns

\n
\n

[string]

\n

Columns displayed in the legend.

\n
\n \n
\n
\n
\n
\n
\n

legend_layout

\n
\n

enum

\n

Layout of the legend. \nAllowed enum values: auto,horizontal,vertical

\n
\n \n
\n
\n
\n
\n
\n

legend_size

\n
\n

string

\n

Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".

\n
\n \n
\n
\n
\n
\n
\n

markers

\n
\n

[object]

\n

List of markers.

\n
\n
\n
\n
\n
\n

display_type

\n
\n

string

\n

Combination of:

\n
    \n
  • A severity error, warning, ok, or info
  • \n
  • A line type: dashed, solid, or bold\nIn this case of a Distribution widget, this can be set to be x_axis_percentile.
  • \n
\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

Label to display over the marker.

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

string

\n

Timestamp for the widget.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

string

\n

Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of timeseries widget requests.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

display_type

\n
\n

enum

\n

Type of display to use for the request. \nAllowed enum values: area,bars,line,overlay

\n
\n \n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

metadata

\n
\n

[object]

\n

Used to define expression aliases.

\n
\n
\n
\n
\n
\n

alias_name

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

expression [required]

\n
\n

string

\n

Expression name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

on_right_yaxis

\n
\n

boolean

\n

Whether or not to display a second y-axis on the right.

\n
\n \n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Define request widget style.

\n
\n
\n
\n
\n
\n

line_type

\n
\n

enum

\n

Type of lines displayed. \nAllowed enum values: dashed,dotted,solid

\n
\n \n
\n
\n
\n
\n
\n

line_width

\n
\n

enum

\n

Width of line displayed. \nAllowed enum values: normal,thick,thin

\n
\n \n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

right_yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

show_legend

\n
\n

boolean

\n

(screenboard only) Show the legend for this widget.

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the timeseries widget. \nAllowed enum values: timeseries

default: timeseries

\n
\n \n
\n
\n
\n
\n
\n

yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Option 8

\n
\n

object

\n

The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of top list widget requests.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Define request widget style.

\n
\n
\n
\n
\n
\n

line_type

\n
\n

enum

\n

Type of lines displayed. \nAllowed enum values: dashed,dotted,solid

\n
\n \n
\n
\n
\n
\n
\n

line_width

\n
\n

enum

\n

Width of line displayed. \nAllowed enum values: normal,thick,thin

\n
\n \n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Style customization for a top list widget.

\n
\n
\n
\n
\n
\n

display

\n
\n

 <oneOf>

\n

Top list widget display options.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Top list widget stacked display options.

\n
\n
\n
\n
\n
\n

legend

\n
\n

enum

\n

Top list widget stacked legend behavior. \nAllowed enum values: automatic,inline,none

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Top list widget stacked display type. \nAllowed enum values: stacked

default: stacked

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Top list widget flat display.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Top list widget flat display type. \nAllowed enum values: flat

default: flat

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n

scaling

\n
\n

enum

\n

Top list widget scaling definition. \nAllowed enum values: absolute,relative

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the top list widget. \nAllowed enum values: toplist

default: toplist

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 9

\n
\n

object

\n

The treemap visualization enables you to display hierarchical and nested data. It is well suited for queries that describe part-whole relationships, such as resource usage by availability zone, data center, or team.

\n
\n
\n
\n
\n
\n

color_by

\n
\n

enum

\n

DEPRECATED: (deprecated) The attribute formerly used to determine color in the widget. \nAllowed enum values: user

default: user

\n
\n \n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

enum

\n

DEPRECATED: (deprecated) The attribute formerly used to group elements in the widget. \nAllowed enum values: user,family,process

\n
\n \n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of treemap widget requests.

\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

The widget metrics query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

size_by

\n
\n

enum

\n

DEPRECATED: (deprecated) The attribute formerly used to determine size in the widget. \nAllowed enum values: pct_cpu,pct_mem

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the treemap widget. \nAllowed enum values: treemap

default: treemap

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

split_config [required]

\n
\n

object

\n

Encapsulates all user choices about how to split a graph.

\n
\n
\n
\n
\n
\n

limit [required]

\n
\n

int64

\n

Maximum number of graphs to display in the widget.

\n
\n \n
\n
\n
\n
\n
\n

sort [required]

\n
\n

object

\n

Controls the order in which graphs appear in the split.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Defines the metric and aggregation used as the sort value.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

How to aggregate the sort metric for the purposes of ordering.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

The metric to use for sorting graphs.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

split_dimensions [required]

\n
\n

[object]

\n

The dimension(s) on which to split the graph

\n
\n
\n
\n
\n
\n

one_graph_per [required]

\n
\n

string

\n

The system interprets this attribute differently depending on the data source of the query being split. For metrics, it's a tag. For the events platform, it's an attribute or tag.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

static_splits

\n
\n

[array]

\n

Manual selection of tags making split graph widget static

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the split graph widget \nAllowed enum values: split_group

default: split_group

\n
\n \n
\n
" + "html": "
\n
\n
\n
\n

has_uniform_y_axes

\n
\n

boolean

\n

Normalize y axes across graphs

\n
\n \n
\n
\n
\n
\n
\n

size [required]

\n
\n

enum

\n

Size of the individual graphs in the split. \nAllowed enum values: xs,sm,md,lg

\n
\n \n
\n
\n
\n
\n
\n

source_widget_definition [required]

\n
\n

 <oneOf>

\n

The original widget we are splitting on.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The Change graph shows you the change in a value over the time period chosen.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Array of one request object to display in the widget.

\n

See the dedicated Request JSON schema documentation\n to learn how to build the REQUEST_SCHEMA.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

change_type

\n
\n

enum

\n

Show the absolute or the relative change. \nAllowed enum values: absolute,relative

\n
\n \n
\n
\n
\n
\n
\n

compare_to

\n
\n

enum

\n

Timeframe used for the change comparison. \nAllowed enum values: hour_before,day_before,week_before,month_before

\n
\n \n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

increase_good

\n
\n

boolean

\n

Whether to show increase as good.

\n
\n \n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

order_by

\n
\n

enum

\n

What to order by. \nAllowed enum values: change,name,present,past

\n
\n \n
\n
\n
\n
\n
\n

order_dir

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

show_present

\n
\n

boolean

\n

Whether to show the present value.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of the widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the change widget. \nAllowed enum values: change

default: change

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

This visualization displays a series of values by country on a world map.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

A list of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Array of one request object to display in the widget. The request must contain a group-by tag whose value is a country ISO code.

\n

See the Request JSON schema documentation\nfor information about building the REQUEST_SCHEMA.

\n
\n
\n
\n
\n
\n

columns

\n
\n

[object]

\n

Widget columns.

\n
\n
\n
\n
\n
\n

field [required]

\n
\n

string

\n

Widget column field.

\n
\n \n
\n
\n
\n
\n
\n

width [required]

\n
\n

enum

\n

Widget column width. \nAllowed enum values: auto,compact,full

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

The widget metrics query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

query

\n
\n

object

\n

Updated list stream widget.

\n
\n
\n
\n
\n
\n

clustering_pattern_field_path

\n
\n

string

\n

Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.

\n
\n \n
\n
\n
\n
\n
\n

compute

\n
\n

[object]

\n

Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation value. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg,earliest,latest,most_frequent

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Source from which to query items to display in the stream. \nAllowed enum values: logs_stream,audit_stream,ci_pipeline_stream,ci_test_stream,rum_issue_stream,apm_issue_stream,trace_stream,logs_issue_stream,logs_pattern_stream,logs_transaction_stream,event_stream,rum_stream,llm_observability_stream

default: apm_issue_stream

\n
\n \n
\n
\n
\n
\n
\n

event_size

\n
\n

enum

\n

Size to use to display an event. \nAllowed enum values: s,l

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

List of indexes.

\n
\n \n
\n
\n
\n
\n
\n

query_string [required]

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Which column and order to sort by

\n
\n
\n
\n
\n
\n

column [required]

\n
\n

string

\n

Facet path for the column

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style [required]

\n
\n

object

\n

The style to apply to the widget.

\n
\n
\n
\n
\n
\n

palette [required]

\n
\n

string

\n

The color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n

palette_flip [required]

\n
\n

boolean

\n

Whether to flip the palette tones.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

The size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the geomap widget. \nAllowed enum values: geomap

default: geomap

\n
\n \n
\n
\n
\n
\n
\n

view [required]

\n
\n

object

\n

The view of the world that the map should render.

\n
\n
\n
\n
\n
\n

custom_extent

\n
\n

[number]

\n

A custom extent of the map defined by an array of four numbers in the order [minLongitude, minLatitude, maxLongitude, maxLatitude].

\n
\n \n
\n
\n
\n
\n
\n

focus [required]

\n
\n

string

\n

The 2-letter ISO code of a country to focus the map on. Or WORLD.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Query values display the current value of a given metric, APM, or log query.

\n
\n
\n
\n
\n
\n

autoscale

\n
\n

boolean

\n

Whether to use auto-scaling or not.

\n
\n \n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

custom_unit

\n
\n

string

\n

Display a unit of your choice on the widget.

\n
\n \n
\n
\n
\n
\n
\n

precision

\n
\n

int64

\n

Number of decimals to show. If not defined, the widget uses the raw value.

\n
\n \n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Widget definition.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

TODO.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

text_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

timeseries_background

\n
\n

object

\n

Set a timeseries on the widget background.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Timeseries is made using an area or bars. \nAllowed enum values: bars,area

default: area

\n
\n \n
\n
\n
\n
\n
\n

yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the query value widget. \nAllowed enum values: query_value

default: query_value

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation.

\n
\n
\n
\n
\n
\n

color_by_groups

\n
\n

[string]

\n

List of groups used for colors.

\n
\n \n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

object

\n

Widget definition.

\n
\n
\n
\n
\n
\n

table

\n
\n

object

\n

Scatterplot request containing formulas and functions.

\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of Scatterplot formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

dimension [required]

\n
\n

enum

\n

Dimension of the Scatterplot. \nAllowed enum values: x,y,radius,color

\n
\n \n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

x

\n
\n

object

\n

Updated scatter plot.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

y

\n
\n

object

\n

Updated scatter plot.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the scatter plot widget. \nAllowed enum values: scatterplot

default: scatterplot

\n
\n \n
\n
\n
\n
\n
\n

xaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

Sunbursts are spot on to highlight how groups contribute to the total of a query.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

hide_total

\n
\n

boolean

\n

Show the total value in this widget.

\n
\n \n
\n
\n
\n
\n
\n

legend

\n
\n

 <oneOf>

\n

Configuration of the legend.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Configuration of table-based legend.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Whether or not to show a table legend. \nAllowed enum values: table,none

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Configuration of inline or automatic legends.

\n
\n
\n
\n
\n
\n

hide_percent

\n
\n

boolean

\n

Whether to hide the percentages of the groups.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

Whether to hide the values of the groups.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Whether to show the legend inline or let it be automatically generated. \nAllowed enum values: inline,automatic

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of sunburst widget requests.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Widget style definition.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Sunburst widget. \nAllowed enum values: sunburst

default: sunburst

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

has_search_bar

\n
\n

enum

\n

Controls the display of the search bar. \nAllowed enum values: always,never,auto

\n
\n \n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

Widget definition.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

The column name (defaults to the metric name).

\n
\n \n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

apm_stats_query

\n
\n

object

\n

The APM stats query for table and distributions widgets.

\n
\n
\n
\n
\n
\n

columns

\n
\n

[object]

\n

Column properties used by the front end for display.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

A user-assigned alias for the column.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Column name.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

Environment name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Operation name associated with service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag [required]

\n
\n

string

\n

The organization's host group name and value.

\n
\n \n
\n
\n
\n
\n
\n

resource

\n
\n

string

\n

Resource name.

\n
\n \n
\n
\n
\n
\n
\n

row_type [required]

\n
\n

enum

\n

The level of detail for the request. \nAllowed enum values: service,resource,span

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

Service name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

[string]

\n

A list of display modes for each table cell.

\n
\n \n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

For metric queries, the number of lines to show in the table. Only one request should have this property.

\n
\n \n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

text_formats

\n
\n

[array]

\n

List of text formats for columns produced by tags.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the table widget. \nAllowed enum values: query_table

default: query_table

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

events

\n
\n

[object]

\n

List of widget events.

\n
\n
\n
\n
\n
\n

q [required]

\n
\n

string

\n

Query definition.

\n
\n \n
\n
\n
\n
\n
\n

tags_execution

\n
\n

string

\n

The execution method for multi-value filters.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

legend_columns

\n
\n

[string]

\n

Columns displayed in the legend.

\n
\n \n
\n
\n
\n
\n
\n

legend_layout

\n
\n

enum

\n

Layout of the legend. \nAllowed enum values: auto,horizontal,vertical

\n
\n \n
\n
\n
\n
\n
\n

legend_size

\n
\n

string

\n

Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".

\n
\n \n
\n
\n
\n
\n
\n

markers

\n
\n

[object]

\n

List of markers.

\n
\n
\n
\n
\n
\n

display_type

\n
\n

string

\n

Combination of:

\n
    \n
  • A severity error, warning, ok, or info
  • \n
  • A line type: dashed, solid, or bold\nIn this case of a Distribution widget, this can be set to be x_axis_percentile.
  • \n
\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

Label to display over the marker.

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

string

\n

Timestamp for the widget.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

string

\n

Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of timeseries widget requests.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

display_type

\n
\n

enum

\n

Type of display to use for the request. \nAllowed enum values: area,bars,line,overlay

\n
\n \n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

metadata

\n
\n

[object]

\n

Used to define expression aliases.

\n
\n
\n
\n
\n
\n

alias_name

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

expression [required]

\n
\n

string

\n

Expression name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

on_right_yaxis

\n
\n

boolean

\n

Whether or not to display a second y-axis on the right.

\n
\n \n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Define request widget style.

\n
\n
\n
\n
\n
\n

line_type

\n
\n

enum

\n

Type of lines displayed. \nAllowed enum values: dashed,dotted,solid

\n
\n \n
\n
\n
\n
\n
\n

line_width

\n
\n

enum

\n

Width of line displayed. \nAllowed enum values: normal,thick,thin

\n
\n \n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

right_yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

show_legend

\n
\n

boolean

\n

(screenboard only) Show the legend for this widget.

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the timeseries widget. \nAllowed enum values: timeseries

default: timeseries

\n
\n \n
\n
\n
\n
\n
\n

yaxis

\n
\n

object

\n

Axis controls for the widget.

\n
\n
\n
\n
\n
\n

include_zero

\n
\n

boolean

\n

Set to true to include zero.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.

\n
\n \n
\n
\n
\n
\n
\n

max

\n
\n

string

\n

Specifies maximum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

min

\n
\n

string

\n

Specifies minimum numeric value to show on the axis. Defaults to auto.

default: auto

\n
\n \n
\n
\n
\n
\n
\n

scale

\n
\n

string

\n

Specifies the scale type. Possible values are linear, log, sqrt, and pow## (for example pow2 or pow0.5).

default: linear

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Option 8

\n
\n

object

\n

The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.

\n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of top list widget requests.

\n
\n
\n
\n
\n
\n

apm_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

audit_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

event_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

log_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

network_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

process_query

\n
\n

object

\n

The process query to use in the widget.

\n
\n
\n
\n
\n
\n

filter_by

\n
\n

[string]

\n

List of processes.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Max number of items in the filter list.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Your chosen metric.

\n
\n \n
\n
\n
\n
\n
\n

search_by

\n
\n

string

\n

Your chosen search term.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

profile_metrics_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

Widget query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n

rum_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

security_query

\n
\n

object

\n

The log query.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Define computation for a log query.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

List of tag prefixes to group by in the case of a cluster check.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Maximum number of items in the group.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Define a sorting method.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

index

\n
\n

string

\n

A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes

\n
\n \n
\n
\n
\n
\n
\n

multi_compute

\n
\n

[object]

\n

This field is mutually exclusive with compute.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

The aggregation method.

\n
\n \n
\n
\n
\n
\n
\n

facet

\n
\n

string

\n

Facet name.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

Define a time interval in seconds.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

The query being made on the logs.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Search value to apply.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

The controls for sorting the widget.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

The number of items to limit the widget to.

\n
\n \n
\n
\n
\n
\n
\n

order_by

\n
\n

[ <oneOf>]

\n

The array of items to sort the widget by in order.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

The formula to sort the widget by.

\n
\n
\n
\n
\n
\n

index [required]

\n
\n

int64

\n

The index of the formula to sort by.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to formula. \nAllowed enum values: formula

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

The group to sort the widget by.

\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the group.

\n
\n \n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Set the sort type to group. \nAllowed enum values: group

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Define request widget style.

\n
\n
\n
\n
\n
\n

line_type

\n
\n

enum

\n

Type of lines displayed. \nAllowed enum values: dashed,dotted,solid

\n
\n \n
\n
\n
\n
\n
\n

line_width

\n
\n

enum

\n

Width of line displayed. \nAllowed enum values: normal,thick,thin

\n
\n \n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Style customization for a top list widget.

\n
\n
\n
\n
\n
\n

display

\n
\n

 <oneOf>

\n

Top list widget display options.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Top list widget stacked display options.

\n
\n
\n
\n
\n
\n

legend

\n
\n

enum

\n

Top list widget stacked legend behavior. \nAllowed enum values: automatic,inline,none

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Top list widget stacked display type. \nAllowed enum values: stacked

default: stacked

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Top list widget flat display.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Top list widget flat display type. \nAllowed enum values: flat

default: flat

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

Color palette to apply to the widget.

\n
\n \n
\n
\n
\n
\n
\n

scaling

\n
\n

enum

\n

Top list widget scaling definition. \nAllowed enum values: absolute,relative

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

title_align

\n
\n

enum

\n

How to align the text on the widget. \nAllowed enum values: center,left,right

\n
\n \n
\n
\n
\n
\n
\n

title_size

\n
\n

string

\n

Size of the title.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the top list widget. \nAllowed enum values: toplist

default: toplist

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 9

\n
\n

object

\n

The treemap visualization enables you to display hierarchical and nested data. It is well suited for queries that describe part-whole relationships, such as resource usage by availability zone, data center, or team.

\n
\n
\n
\n
\n
\n

color_by

\n
\n

enum

\n

DEPRECATED: (deprecated) The attribute formerly used to determine color in the widget. \nAllowed enum values: user

default: user

\n
\n \n
\n
\n
\n
\n
\n

custom_links

\n
\n

[object]

\n

List of custom links.

\n
\n
\n
\n
\n
\n

is_hidden

\n
\n

boolean

\n

The flag for toggling context menu link visibility.

\n
\n \n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

\n
\n \n
\n
\n
\n
\n
\n

link

\n
\n

string

\n

The URL of the custom link. URL must include http or https. A relative URL must start with /.

\n
\n \n
\n
\n
\n
\n
\n

override_label

\n
\n

string

\n

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

group_by

\n
\n

enum

\n

DEPRECATED: (deprecated) The attribute formerly used to group elements in the widget. \nAllowed enum values: user,family,process

\n
\n \n
\n
\n
\n
\n
\n

requests [required]

\n
\n

[object]

\n

List of treemap widget requests.

\n
\n
\n
\n
\n
\n

formulas

\n
\n

[object]

\n

List of formulas that operate on queries.

\n
\n
\n
\n
\n
\n

alias

\n
\n

string

\n

Expression alias.

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode

\n
\n

enum

\n

Define a display mode for the table cell. \nAllowed enum values: number,bar,trend

\n
\n \n
\n
\n
\n
\n
\n

cell_display_mode_options

\n
\n

object

\n

Cell display mode options for the widget formula. (only if cell_display_mode is set to trend).

\n
\n
\n
\n
\n
\n

trend_type

\n
\n

enum

\n

Trend type for the cell display mode options. \nAllowed enum values: area,line,bars

\n
\n \n
\n
\n
\n
\n
\n

y_scale

\n
\n

enum

\n

Y scale for the cell display mode options. \nAllowed enum values: shared,independent

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_formats

\n
\n

[object]

\n

List of conditional formats.

\n
\n
\n
\n
\n
\n

comparator [required]

\n
\n

enum

\n

Comparator to apply. \nAllowed enum values: =,>,>=,<,<=

\n
\n \n
\n
\n
\n
\n
\n

custom_bg_color

\n
\n

string

\n

Color palette to apply to the background, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

custom_fg_color

\n
\n

string

\n

Color palette to apply to the foreground, same values available as palette.

\n
\n \n
\n
\n
\n
\n
\n

hide_value

\n
\n

boolean

\n

True hides values.

\n
\n \n
\n
\n
\n
\n
\n

image_url

\n
\n

string

\n

Displays an image as the background.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric from the request to correlate this conditional format with.

\n
\n \n
\n
\n
\n
\n
\n

palette [required]

\n
\n

enum

\n

Color palette to apply. \nAllowed enum values: blue,custom_bg,custom_image,custom_text,gray_on_white,grey,green,orange,red,red_on_white,white_on_gray,white_on_green,green_on_white,white_on_red,white_on_yellow,yellow_on_white,black_on_light_yellow,black_on_light_green,black_on_light_red

\n
\n \n
\n
\n
\n
\n
\n

timeframe

\n
\n

string

\n

Defines the displayed timeframe.

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

double

\n

Value for the comparator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

formula [required]

\n
\n

string

\n

String expression built from queries, formulas, and functions.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

object

\n

Options for limiting results returned.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of results to return.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

number_format

\n
\n

object

\n

Number format options for the widget.

\n
\n
\n
\n
\n
\n

unit

\n
\n

 <oneOf>

\n

Number format unit.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Canonical unit.

\n
\n
\n
\n
\n
\n

per_unit_name

\n
\n

string

\n

The name of the unit per item.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Custom unit.

\n
\n
\n
\n
\n
\n

label

\n
\n

string

\n

The label for the custom unit.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of custom unit. \nAllowed enum values: custom_unit_label

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

unit_scale

\n
\n

object

\n

The definition of NumberFormatUnitScale object.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

The type of unit scale. \nAllowed enum values: canonical_unit

\n
\n \n
\n
\n
\n
\n
\n

unit_name

\n
\n

string

\n

The name of the unit.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

style

\n
\n

object

\n

Styling options for widget formulas.

\n
\n
\n
\n
\n
\n

palette

\n
\n

string

\n

The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors

\n
\n \n
\n
\n
\n
\n
\n

palette_index

\n
\n

int64

\n

Index specifying which color to use within the palette.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

q

\n
\n

string

\n

The widget metrics query.

\n
\n \n
\n
\n
\n
\n
\n

queries

\n
\n

[ <oneOf>]

\n

List of queries that can be returned directly or used in formulas.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for metrics queries. \nAllowed enum values: metrics

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Metrics query definition.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

A formula and functions events query.

\n
\n
\n
\n
\n
\n

compute [required]

\n
\n

object

\n

Compute options.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

int64

\n

A time interval in milliseconds.

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Measurable attribute to compute.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for event platform-based queries. \nAllowed enum values: logs,spans,network,rum,security_signals,profiles,audit,events,ci_tests,ci_pipelines,incident_analytics

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[object]

\n

Group by options.

\n
\n
\n
\n
\n
\n

facet [required]

\n
\n

string

\n

Event facet.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of groups to return.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

object

\n

Options for sorting group by results.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

enum

\n

Aggregation methods for event platform queries. \nAllowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg

\n
\n \n
\n
\n
\n
\n
\n

metric

\n
\n

string

\n

Metric used for sorting group by results.

\n
\n \n
\n
\n
\n
\n
\n

order

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

indexes

\n
\n

[string]

\n

An array of index names to query in the stream. Omit or use [] to query all indexes at once.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

search

\n
\n

object

\n

Search options.

\n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Events search string.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

storage

\n
\n

string

\n

Option for storage location. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Process query using formulas and functions.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

The aggregation methods available for metrics queries. \nAllowed enum values: avg,min,max,sum,last,area,l2norm,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data sources that rely on the process backend. \nAllowed enum values: process,container

\n
\n \n
\n
\n
\n
\n
\n

is_normalized_cpu

\n
\n

boolean

\n

Whether to normalize the CPU percentages.

\n
\n \n
\n
\n
\n
\n
\n

limit

\n
\n

int64

\n

Number of hits to return.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

Process metric name.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

sort

\n
\n

enum

\n

Direction of sort. \nAllowed enum values: asc,desc

default: desc

\n
\n \n
\n
\n
\n
\n
\n

tag_filters

\n
\n

[string]

\n

An array of tags to filter by.

\n
\n \n
\n
\n
\n
\n
\n

text_filter

\n
\n

string

\n

Text to use as filter.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 4

\n
\n

object

\n

A formula and functions APM dependency stats query.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM dependency stats queries. \nAllowed enum values: apm_dependency_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

is_upstream

\n
\n

boolean

\n

Determines whether stats for upstream or downstream dependencies should be queried.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name [required]

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Filter APM data by the second primary tag. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name [required]

\n
\n

string

\n

APM resource.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM statistic. \nAllowed enum values: avg_duration,avg_root_duration,avg_spans_per_trace,error_rate,pct_exec_time,pct_of_traces,total_traces_count

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 5

\n
\n

object

\n

APM resource stats query using formulas and functions.

\n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for APM resource stats queries. \nAllowed enum values: apm_resource_stats

\n
\n \n
\n
\n
\n
\n
\n

env [required]

\n
\n

string

\n

APM environment.

\n
\n \n
\n
\n
\n
\n
\n

group_by

\n
\n

[string]

\n

Array of fields to group results by.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of this query to use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

operation_name

\n
\n

string

\n

Name of operation on service.

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_name

\n
\n

string

\n

Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog

\n
\n \n
\n
\n
\n
\n
\n

primary_tag_value

\n
\n

string

\n

Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.

\n
\n \n
\n
\n
\n
\n
\n

resource_name

\n
\n

string

\n

APM resource name.

\n
\n \n
\n
\n
\n
\n
\n

service [required]

\n
\n

string

\n

APM service name.

\n
\n \n
\n
\n
\n
\n
\n

stat [required]

\n
\n

enum

\n

APM resource stat name. \nAllowed enum values: errors,error_rate,hits,latency_avg,latency_distribution,latency_max,latency_p50,latency_p75,latency_p90,latency_p95,latency_p99

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 6

\n
\n

object

\n

A formula and functions metrics query.

\n
\n
\n
\n
\n
\n

additional_query_filters

\n
\n

string

\n

Additional filters applied to the SLO query.

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for SLO measures queries. \nAllowed enum values: slo

\n
\n \n
\n
\n
\n
\n
\n

group_mode

\n
\n

enum

\n

Group mode to query measures. \nAllowed enum values: overall,components

\n
\n \n
\n
\n
\n
\n
\n

measure [required]

\n
\n

enum

\n

SLO measures queries. \nAllowed enum values: good_events,bad_events,good_minutes,bad_minutes,slo_status,error_budget_remaining,burn_rate,error_budget_burndown

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

slo_id [required]

\n
\n

string

\n

ID of an SLO to query measures.

\n
\n \n
\n
\n
\n
\n
\n

slo_query_type

\n
\n

enum

\n

Name of the query for use in formulas. \nAllowed enum values: metric,monitor,time_slice

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 7

\n
\n

object

\n

A formula and functions Cloud Cost query.

\n
\n
\n
\n
\n
\n

aggregator

\n
\n

enum

\n

Aggregator used for the request. \nAllowed enum values: avg,last,max,min,sum,percentile

\n
\n \n
\n
\n
\n
\n
\n

cross_org_uuids

\n
\n

[string]

\n

The source organization UUID for cross organization queries. Feature in Private Beta.

\n
\n \n
\n
\n
\n
\n
\n

data_source [required]

\n
\n

enum

\n

Data source for Cloud Cost queries. \nAllowed enum values: cloud_cost

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the query for use in formulas.

\n
\n \n
\n
\n
\n
\n
\n

query [required]

\n
\n

string

\n

Query for Cloud Cost data.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

response_format

\n
\n

enum

\n

Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets. \nAllowed enum values: timeseries,scalar,event_list

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

size_by

\n
\n

enum

\n

DEPRECATED: (deprecated) The attribute formerly used to determine size in the widget. \nAllowed enum values: pct_cpu,pct_mem

\n
\n \n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the treemap widget. \nAllowed enum values: treemap

default: treemap

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

split_config [required]

\n
\n

object

\n

Encapsulates all user choices about how to split a graph.

\n
\n
\n
\n
\n
\n

limit [required]

\n
\n

int64

\n

Maximum number of graphs to display in the widget.

\n
\n \n
\n
\n
\n
\n
\n

sort [required]

\n
\n

object

\n

Controls the order in which graphs appear in the split.

\n
\n
\n
\n
\n
\n

compute

\n
\n

object

\n

Defines the metric and aggregation used as the sort value.

\n
\n
\n
\n
\n
\n

aggregation [required]

\n
\n

string

\n

How to aggregate the sort metric for the purposes of ordering.

\n
\n \n
\n
\n
\n
\n
\n

metric [required]

\n
\n

string

\n

The metric to use for sorting graphs.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

order [required]

\n
\n

enum

\n

Widget sorting methods. \nAllowed enum values: asc,desc

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

split_dimensions [required]

\n
\n

[object]

\n

The dimension(s) on which to split the graph

\n
\n
\n
\n
\n
\n

one_graph_per [required]

\n
\n

string

\n

The system interprets this attribute differently depending on the data source of the query being split. For metrics, it's a tag. For the events platform, it's an attribute or tag.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

static_splits

\n
\n

[array]

\n

Manual selection of tags making split graph widget static

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

time

\n
\n

 <oneOf>

\n

Time setting for the widget.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

object

\n

Wrapper for live span

\n
\n
\n
\n
\n
\n

live_span

\n
\n

enum

\n

The available timeframes depend on the widget you are using. \nAllowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 2

\n
\n

object

\n

Used for arbitrary live span times, such as 17 minutes or 6 hours.

\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "live" denotes a live span in the new format. \nAllowed enum values: live

\n
\n \n
\n
\n
\n
\n
\n

unit [required]

\n
\n

enum

\n

Unit of the time span. \nAllowed enum values: minute,hour,day,week,month,year

\n
\n \n
\n
\n
\n
\n
\n

value [required]

\n
\n

int64

\n

Value of the time span.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Option 3

\n
\n

object

\n

Used for fixed span times, such as 'March 1 to March 7'.

\n
\n
\n
\n
\n
\n

from [required]

\n
\n

int64

\n

Start time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

int64

\n

End time in seconds since epoch.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type "fixed" denotes a fixed span. \nAllowed enum values: fixed

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

Title of your widget.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the split graph widget \nAllowed enum values: split_group

default: split_group

\n
\n \n
\n
" }, "sunburst": { "json_curl": { diff --git a/data/api/v1/full_spec.yaml b/data/api/v1/full_spec.yaml index c7d36afa0b4a3..5cc154beeb7af 100644 --- a/data/api/v1/full_spec.yaml +++ b/data/api/v1/full_spec.yaml @@ -3546,6 +3546,22 @@ components: example: focus: WORLD properties: + custom_extent: + description: A custom extent of the map defined by an array of four numbers + in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`. + example: + - -30 + - -40 + - 40 + - 30 + items: + description: The longitudinal or latitudinal coordinates of the bounding + box. + format: double + type: number + maxItems: 4 + minItems: 4 + type: array focus: description: The 2-letter ISO code of a country to focus the map on. Or `WORLD`. diff --git a/data/api/v1/full_spec_deref.json b/data/api/v1/full_spec_deref.json index 8a3fc3259006b..15af0eea30526 100644 --- a/data/api/v1/full_spec_deref.json +++ b/data/api/v1/full_spec_deref.json @@ -14809,6 +14809,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -31895,6 +31912,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -75132,6 +75166,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -75194,6 +75245,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -84858,6 +84926,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -101863,6 +101948,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -457837,6 +457939,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -480815,6 +480934,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -584956,6 +585092,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -602042,6 +602195,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -641263,6 +641433,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -658407,6 +658594,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -703009,6 +703213,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -720095,6 +720316,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -759323,6 +759561,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -776409,6 +776664,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -820465,6 +820737,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -837551,6 +837840,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -876902,6 +877208,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -893988,6 +894311,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -933216,6 +933556,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -950302,6 +950659,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", diff --git a/static/resources/json/full_spec_v1.json b/static/resources/json/full_spec_v1.json index 8a3fc3259006b..15af0eea30526 100644 --- a/static/resources/json/full_spec_v1.json +++ b/static/resources/json/full_spec_v1.json @@ -14809,6 +14809,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -31895,6 +31912,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -75132,6 +75166,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -75194,6 +75245,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -84858,6 +84926,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -101863,6 +101948,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -457837,6 +457939,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -480815,6 +480934,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -584956,6 +585092,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -602042,6 +602195,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -641263,6 +641433,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -658407,6 +658594,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -703009,6 +703213,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -720095,6 +720316,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -759323,6 +759561,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -776409,6 +776664,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -820465,6 +820737,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -837551,6 +837840,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -876902,6 +877208,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -893988,6 +894311,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -933216,6 +933556,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD", @@ -950302,6 +950659,23 @@ "focus": "WORLD" }, "properties": { + "custom_extent": { + "description": "A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.", + "example": [ + -30, + -40, + 40, + 30 + ], + "items": { + "description": "The longitudinal or latitudinal coordinates of the bounding box.", + "format": "double", + "type": "number" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, "focus": { "description": "The 2-letter ISO code of a country to focus the map on. Or `WORLD`.", "example": "WORLD",