Datadog · Schema

Log

A single log event returned from a search query

AnalyticsDashboardsMonitoringPlatformT1Visualizations

Properties

Name Type Description
id string The unique identifier of the log event
type string The type of the resource (always 'log')
attributes object
View JSON Schema on GitHub

JSON Schema

datadog-logs-log-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-logs-log-schema.json",
  "title": "Log",
  "description": "A single log event returned from a search query",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the log event",
      "example": "abc-123-def"
    },
    "type": {
      "type": "string",
      "description": "The type of the resource (always 'log')",
      "example": "metric alert"
    },
    "attributes": {
      "$ref": "#/components/schemas/LogAttributes"
    }
  }
}