New Relic · JSON Structure

New Relic Log Log Data Object Structure

A batch of log records with optional shared attributes

Type: object Properties: 2 Required: 1
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

LogDataObject is a JSON Structure definition published by New Relic, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

common logs

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A batch of log records with optional shared attributes",
  "name": "LogDataObject",
  "properties": {
    "common": {
      "type": "object",
      "description": "Shared attributes applied to all log records in this batch",
      "properties": {
        "timestamp": {
          "type": "integer",
          "description": "Default Unix timestamp in milliseconds for all logs in the batch"
        },
        "attributes": {
          "type": "object",
          "description": "Key-value attributes applied to all logs in this batch"
        }
      }
    },
    "logs": {
      "type": "array",
      "description": "Array of individual log records",
      "items": {
        "type": "object",
        "description": "A single log record",
        "properties": {
          "timestamp": {
            "type": "integer",
            "description": "Unix epoch timestamp in milliseconds when the log event occurred"
          },
          "message": {
            "type": "string",
            "description": "The log message text"
          },
          "level": {
            "type": "string",
            "description": "Log severity level",
            "enum": [
              "FATAL",
              "ERROR",
              "WARN",
              "WARNING",
              "INFO",
              "DEBUG",
              "TRACE"
            ]
          },
          "logtype": {
            "type": "string",
            "description": "Log format type for automatic parsing (e.g., nginx, apache, syslog)"
          },
          "attributes": {
            "type": "object",
            "description": "Additional key-value attributes for this log record"
          }
        }
      }
    }
  },
  "required": [
    "logs"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/new-relic-log-log-data-object-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.