provider Logs POST /api/v2/logs/analytics/aggregate
@utdk/datadog /api/v2/logs/analytics/aggregate
Aggregate events
The API endpoint to aggregate events into buckets and compute metrics and timeseries.

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

aggregatelogs
POST/api/v2/logs/analytics/aggregate
The API endpoint to aggregate events into buckets and compute metrics and timeseries.

Input

The list of metrics or timeseries to compute for the retrieved buckets.

The search and filter query settings

The rules for the group by

Global query options that are used during the query. Note: These fields are currently deprecated and do not affect the query results.

Paging settings

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.aggregatelogs()