provider Cloud Network Monitoring GET
/api/v2/network/dns/aggregate @utdk/datadog
/api/v2/network/dns/aggregate Get all aggregated DNS traffic
Get all aggregated DNS traffic.
- from query
- Unix timestamp (number of seconds since epoch) of the start of the query window. If not provided, the start of the query window is 15 minutes before the `to` timestamp. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
- integer
- to query
- Unix timestamp (number of seconds since epoch) of the end of the query window. If not provided, the end of the query window is the current time. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
- integer
- group_by query
- Comma-separated list of fields to group DNS traffic by. The server side defaults to `network.dns_query` if unspecified. `server_ungrouped` may be used if groups are not desired. The maximum number of group_by(s) is 10.
- string
- tags query
- Comma-separated list of tags to filter DNS traffic by.
- string
- limit query
- The number of aggregated DNS entries to be returned. The maximum value is 7500. The default is 100.
- integer
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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.getaggregateddns({
"limit": 100
})