Skip to main content

aggregated_connections

Creates, updates, deletes, gets or lists an aggregated_connections resource.

Overview

Nameaggregated_connections
TypeResource
Iddatadog.infrastructure.aggregated_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringA unique identifier for the aggregated connection based on the group by values.
attributesobjectAttributes for an aggregated connection.
typestringAggregated connection resource type. (default: aggregated_connection)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_aggregated_connectionsselectregionfrom, to, group_by, tags, limitGet all aggregated connections.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstring(default: datadoghq.com)
frominteger (int64)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].
group_bystringComma-separated list of fields to group connections by. The maximum number of group_by(s) is 10.
limitinteger (int32)The number of connections to be returned. The maximum value is 7500. The default is 100.
tagsstringComma-separated list of tags to filter connections by.
tointeger (int64)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].

SELECT examples

Get all aggregated connections.

SELECT
id,
attributes,
type
FROM datadog.infrastructure.aggregated_connections
WHERE region = '{{ region }}' -- required
AND from = '{{ from }}'
AND to = '{{ to }}'
AND group_by = '{{ group_by }}'
AND tags = '{{ tags }}'
AND limit = '{{ limit }}'
;