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. (process) (default: process, example: process)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_processesselectsearch, 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
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.
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 search = '{{ search }}'
AND tags = '{{ tags }}'
AND from = '{{ from }}'
AND to = '{{ to }}'
AND page[limit] = '{{ page[limit] }}'
AND page[cursor] = '{{ page[cursor] }}'
;