{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-structure/datadog-logs-logs-aggregate-request-structure.json", "name": "LogsAggregateRequest", "description": "Request body for aggregating log events", "type": "object", "properties": { "filter": { "$ref": "#/components/schemas/LogsQueryFilter" }, "compute": { "type": "array", "description": "List of aggregation computations to perform on the filtered log set", "items": { "$ref": "#/components/schemas/LogsCompute" } }, "group_by": { "type": "array", "description": "List of facets to group results by, enabling breakdown by log attribute", "items": { "$ref": "#/components/schemas/LogsGroupBy" } }, "options": { "type": "object", "description": "Options for the aggregation query", "properties": { "timezone": { "type": "string", "description": "The timezone to use for time-based group-by operations (IANA timezone name)" } } } } }