{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-structure/log-monitoring-api-v2-log-record-structure.json",
  "description": "A log record retrieved from the Dynatrace Grail data lakehouse. Contains the original log content plus enriched metadata added by Dynatrace during ingestion and processing.",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "string",
      "description": "The timestamp of the log record in ISO 8601 format.",
      "example": "example-value"
    },
    "content": {
      "type": "string",
      "description": "The log message content.",
      "example": "example-value"
    },
    "severity": {
      "type": "string",
      "description": "The severity level of the log record.",
      "example": "HIGH"
    },
    "log.source": {
      "type": "string",
      "description": "The source identifier of the log record.",
      "example": "example-value"
    },
    "dt.entity.host": {
      "type": "string",
      "description": "The associated host entity ID.",
      "example": "example-value"
    },
    "additionalFields": {
      "type": "object",
      "description": "Additional fields present in the log record beyond the standard set. Content varies based on what was ingested and how OpenPipeline processed the record.",
      "additionalProperties": true,
      "example": {}
    }
  },
  "name": "LogRecord"
}