New Relic · Schema

LogDataObject

A batch of log records with optional shared attributes

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
common object
logs array Array of individual log records
View JSON Schema on GitHub

JSON Schema

new-relic-logdataobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LogDataObject",
  "title": "LogDataObject",
  "type": "object",
  "description": "A batch of log records with optional shared attributes",
  "required": [
    "logs"
  ],
  "properties": {
    "common": {
      "$ref": "#/components/schemas/CommonBlock"
    },
    "logs": {
      "type": "array",
      "description": "Array of individual log records",
      "items": {
        "$ref": "#/components/schemas/LogRecord"
      },
      "example": [
        {
          "timestamp": 1718153645993,
          "message": "Operation completed successfully",
          "level": "FATAL",
          "logtype": "standard",
          "attributes": {
            "customAttribute": "example_value"
          }
        }
      ]
    }
  }
}