Skip to content

datadog list-processes

Get all processes for your organization

Description

Get all processes for your organization

Synopsis

datadog list-processes
    [--site <site>]
    [--search <search>]
    [--tags <tags>]
    [--from <from>]
    [--to <to>]
    [--limit <limit>]
    [--cursor <cursor>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

search - (string)

     String to search processes by
     Example: --search "search-1"
     Default: _None_      Attributes: optional

tags - (string)

     Tags to filter processes by
     Example: --tags "tags-1"
     Default: _None_      Attributes: optional, multiple allowed

from - (time)

     Unix timestamp of the start of the query window. default 15 minutes before the to timestamp
     Example: --from "2019-10-12T07:20:50.52Z"
     Default: 15 minutes ago      Attributes: optional

to - (time)

     Unix timestamp of the end of the query window. Defaults 15 minutes after the from timestamp
     Example: --to "2019-10-12T07:20:50.52Z"
     Default: _None_      Attributes: optional

limit - (int)

     Maximum number of results returned
     Example: --limit 1
     Default: _None_      Attributes: optional

cursor - (string)

     tring to query the next page of results. This key is provided with each valid response from the API in meta.page.after
     Example: --cursor "cursor-1"
     Default: _None_      Attributes: optional

Examples

Input:

!datadog list-processes --from "1 hour ago"
Output:
ID      HOST      PID   START                       USER
65423   beehyv    3215  2023-01-10T12:06:50.999600  AB

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "datadog"
Service Instance
Namespace
Object Type "process"
Object ID

Please see Access Control for details.