slo_search_results
Creates, updates, deletes, gets or lists a slo_search_results resource.
Overview
| Name | slo_search_results |
| Type | Resource |
| Id | datadog.service_management.slo_search_results |
Fields
The following fields are returned by SELECT queries:
- search_slo
| Name | Datatype | Description |
|---|---|---|
data | object | A service level objective ID and attributes. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
search_slo | select | query, page[size], page[number], include_facets | Get 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.
| Name | Datatype | Description |
|---|---|---|
site | string | The 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_facets | boolean | Whether 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]. |
query | string | The query string to filter results based on SLO names. Some examples of queries include service:<service-name> and <slo-name>. |
SELECT examples
- search_slo
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 }}'
;