processes
Creates, updates, deletes, gets or lists a processes resource.
Overview
| Name | processes |
| Type | Resource |
| Id | datadog.infrastructure.processes |
Fields
The following fields are returned by SELECT queries:
- list_processes
| Name | Datatype | Description |
|---|---|---|
id | string | Process ID. |
attributes | object | Attributes for a process summary. |
type | string | Type of process summary. (process) (default: process, example: process) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_processes | select | search, 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.
| 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. |
from | integer (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] | string | String 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. |
search | string | String to search processes by. |
tags | string | Comma-separated list of tags to filter processes by. (example: account:prod,user:admin) |
to | integer (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
- list_processes
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] }}'
;