Datadog · JSON Structure

Datadog Logs Logs Aggregate Request Structure

Request body for aggregating log events

Type: object Properties: 4
AnalyticsDashboardsMonitoringPlatformT1Visualizations

LogsAggregateRequest is a JSON Structure definition published by Datadog, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

filter compute group_by options

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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)"
        }
      }
    }
  }
}