Skip to main content

processes

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

Overview

Nameprocesses
TypeResource
Iddatadog.infrastructure.processes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringProcess ID.
attributesobjectAttributes for a process summary.
typestringType of process summary. (default: process, example: process)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_processesselectregionsearch, tags, from, to, page[limit], page[cursor]Get all processes 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
regionstring(default: datadoghq.com)
frominteger (int64)Unix timestamp (number of seconds since epoch) of the start of the query window. If not provided, the start of the query window will be 15 minutes before the to timestamp. If neither from nor to are provided, the query window will be [now - 15m, now].
page[cursor]stringString to query the next page of results. This key is provided with each valid response from the API in meta.page.after.
page[limit]integer (int32)Maximum number of results returned.
tagsstringComma-separated list of tags to filter processes by. (example: account:prod,user:admin)
tointeger (int64)Unix timestamp (number of seconds since epoch) of the end of the query window. If not provided, the end of the query window will be 15 minutes after the from timestamp. If neither from nor to are provided, the query window will be [now - 15m, now].

SELECT examples

Get all processes for your organization.

SELECT
id,
attributes,
type
FROM datadog.infrastructure.processes
WHERE region = '{{ region }}' -- required
AND search = '{{ search }}'
AND tags = '{{ tags }}'
AND from = '{{ from }}'
AND to = '{{ to }}'
AND page[limit] = '{{ page[limit] }}'
AND page[cursor] = '{{ page[cursor] }}'
;