New Relic · JSON Structure

New Relic Event Event Payload Structure

An array of custom event objects to ingest

Type: array Properties: 0
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

EventPayload is a JSON Structure definition published by New Relic. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

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

JSON Structure

Raw ↑
{
  "type": "array",
  "description": "An array of custom event objects to ingest",
  "name": "EventPayload",
  "items": {
    "type": "object",
    "description": "A custom event to record. Must include eventType. All other attributes are user-defined key-value pairs. Attribute names must not start with nr. (reserved). Values can be strings, numbers, or booleans.",
    "properties": {
      "eventType": {
        "type": "string",
        "description": "The type of event. Used as the NRDB event table name. Must match the pattern [a-zA-Z0-9:_ ]+, max 255 characters."
      },
      "timestamp": {
        "type": "integer",
        "description": "Unix epoch timestamp in seconds. If omitted, the current time is used. Cannot be more than 48 hours in the past or 24 hours in the future."
      }
    },
    "required": [
      "eventType"
    ]
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}