Datadog · Schema

LogAttributes

The attributes of a log event returned from the search API

AnalyticsDashboardsMonitoringPlatformT1Visualizations

Properties

Name Type Description
timestamp string ISO 8601 timestamp when the log was generated
status string The log level or severity status of the event
message string The raw log message content
host string The hostname of the machine that generated the log
service string The name of the application or service that generated the log
source string The technology source that generated the log (e.g., nginx, java)
tags array List of tags associated with the log event in key:value format
attributes object Custom key-value attributes extracted from the log message
View JSON Schema on GitHub

JSON Schema

datadog-logs-log-attributes-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-attributes-schema.json",
  "title": "LogAttributes",
  "description": "The attributes of a log event returned from the search API",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the log was generated",
      "example": "2026-04-17T12:00:00Z"
    },
    "status": {
      "type": "string",
      "description": "The log level or severity status of the event",
      "example": "OK"
    },
    "message": {
      "type": "string",
      "description": "The raw log message content",
      "example": "CPU usage is high on {{host.name}}"
    },
    "host": {
      "type": "string",
      "description": "The hostname of the machine that generated the log",
      "example": "example_value"
    },
    "service": {
      "type": "string",
      "description": "The name of the application or service that generated the log",
      "example": "example_value"
    },
    "source": {
      "type": "string",
      "description": "The technology source that generated the log (e.g., nginx, java)",
      "example": "example_value"
    },
    "tags": {
      "type": "array",
      "description": "List of tags associated with the log event in key:value format",
      "items": {
        "type": "string"
      }
    },
    "attributes": {
      "type": "object",
      "description": "Custom key-value attributes extracted from the log message",
      "additionalProperties": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/datadog-logs-log-attributes"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.