Skip to content

datadog query-timeseries-points

Query timeseries points

Description

Query timeseries points

Synopsis

datadog query-timeseries-points
    [--site <site>]
    --from <from>
    --to <to>
    --query <query>

Arguments

site - (string)

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

from - (time)

     Start of the queried time period, seconds since the Unix epoch
     Example: --from "2019-10-12T07:20:50.52Z"
     Default: 15 minutes ago      Attributes: required

to - (time)

     End of the queried time period, seconds since the Unix epoch
     Example: --to "2019-10-12T07:20:50.52Z"
     Default: now      Attributes: required

query - (string)

     Query string
     Example: --query "query-1"
     Default: _None_      Attributes: required

Examples

datadog query-timeseries-points --query "query-1"

Access Control

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

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

Please see Access Control for details.