Skip to main content

slo_search_results

Creates, updates, deletes, gets or lists a slo_search_results resource.

Overview

Nameslo_search_results
TypeResource
Iddatadog.service_management.slo_search_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dataobjectA service level objective ID and attributes.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
search_sloselectquery, page[size], page[number], include_facetsGet a list of service level objective objects for your organization.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.
include_facetsbooleanWhether or not to return facet information in the response [default=false].
page[number]integer (int64)The identifier of the first page to return. This parameter is used for the pagination feature [default=0].
page[size]integer (int64)The number of files to return in the response [default=10].
querystringThe query string to filter results based on SLO names. Some examples of queries include service:&lt;service-name&gt; and <slo-name>.

SELECT examples

Get a list of service level objective objects for your organization.

SELECT
data
FROM datadog.service_management.slo_search_results
WHERE query = '{{ query }}'
AND page[size] = '{{ page[size] }}'
AND page[number] = '{{ page[number] }}'
AND include_facets = '{{ include_facets }}'
;