aggregated_connections
Creates, updates, deletes, gets or lists an aggregated_connections resource.
Overview
| Name | aggregated_connections |
| Type | Resource |
| Id | datadog.infrastructure.aggregated_connections |
Fields
The following fields are returned by SELECT queries:
- get_aggregated_connections
| Name | Datatype | Description |
|---|---|---|
id | string | A unique identifier for the aggregated connection based on the group by values. |
attributes | object | Attributes for an aggregated connection. |
type | string | Aggregated connection resource type. (aggregated_connection) (default: aggregated_connection) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_aggregated_connections | select | from, to, group_by, tags, query, limit | Get 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.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
from | integer (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_by | string | Comma-separated list of fields to group connections by. The maximum number of group_by(s) is 10. |
limit | integer (int32) | The number of connections to be returned. The maximum value is 7500. The default is 100. |
query | string | Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the tags parameter. (example: (client_team:networks OR client_team:platform) AND server_service:hucklebuck) |
tags | string | Comma-separated list of tags to filter connections by. |
to | integer (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_aggregated_connections
Get all aggregated connections.
SELECT
id,
attributes,
type
FROM datadog.infrastructure.aggregated_connections
WHERE from = '{{ from }}'
AND to = '{{ to }}'
AND group_by = '{{ group_by }}'
AND tags = '{{ tags }}'
AND query = '{{ query }}'
AND limit = '{{ limit }}'
;