Datadog Logs
Aggregate events
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
This action aggregates events into buckets and computes metrics and timeseries.
Inputs
Expand All
The list of metrics or timeseries to compute for the retrieved buckets.
The time buckets' size, only used for type=timeseries. Defaults to a resolution of 150 points.
The type of compute.
Allowed enum values: timeseries,total
default: total
The search and filter query settings.
The minimum time for the requested logs, supports date math and regular timestamps (milliseconds).
default: now-15m
For customers with multiple indexes, the indexes to search.
default: *
The search query, following the log search syntax.
default: *
Specifies storage type as indexes or online-archives.
Allowed enum values: indexes,online-archives
default: indexes
The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).
default: now
The rules for the group by.
The name of the facet to use.
Used to perform a histogram computation (only for measure facets).
The number of buckets is (max - min)/interval, with max = 100.
The bin size of the histogram buckets, only for measure facets.
The maximum value for the measure used in the histogram (values greater than this one are filtered out), only for measure facets.
The minimum value for the measure used in the histogram (values smaller than this one are filtered out), only for measure facets.
The maximum buckets to return for this group by. At most can be 10000.
If grouping by multiple facets, the product of limits must not exceed 10000.
default: 10
The value to use for logs that don't have the facet used to group by.
The metric to sort by, only used for type=measure.
The order to use, ascending or descending.
Allowed enum values: asc,desc
The type of sorting algorithm.
Allowed enum values: alphabetical,measure
default: alphabetical
A resulting object to put the given computes in over all the matching records.
If set to true, creates an additional bucket labeled "$facet_total".
If set to string or number, used as a key for the total bucket.
Global query options that are used during the query.
Use either timezone or time offset, but not both (fails otherwise).
The time offset (in seconds) to apply to the query.
The timezone can be specified as GMT, UTC, an offset from UTC (like UTC+1), or as a Timezone Database identifier (like America/New_York). Defaults to UTC.
default: UTC
Paging settings. Page cursor is the returned paging point to use to get the next results, at most 1000 results can be paged.
The returned paging point to use to get the next results.
Outputs
Expand All
The metadata associated with a request
The time elapsed in milliseconds.
The cursor to use to get the next results, if any.
To make the next request, use the same parameters with the addition of the page[cursor].
The identifier of the request.
The status of the respons
Allowed enum values: done,timeout
A list of warnings (non fatal errors) encountered.
Partial results might be returned if warnings are present in the response.
The list of matching buckets, one item per bucket
The key, value pairs for each group by
A map of the metric name -> value for regular compute or list of values for a timeseries