EventCreateAttributes is a JSON Structure definition published by Datadog, describing 9 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-structure/datadog-events-event-create-attributes-structure.json",
"name": "EventCreateAttributes",
"description": "The attributes for a new event to be created",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The event title displayed in the Events Explorer (max 100 characters)",
"maxLength": 100,
"example": "Example Monitor"
},
"message": {
"type": "string",
"description": "The event body text with additional details about the event (max 4000 characters)",
"maxLength": 4000,
"example": "CPU usage is high on {{host.name}}"
},
"timestamp": {
"type": "int64",
"description": "Unix timestamp in seconds for when the event occurred; defaults to current time if not specified",
"example": 42
},
"priority": {
"type": "string",
"description": "The event priority level for filtering and sorting in the Events Explorer",
"enum": [
"normal",
"low"
],
"default": "normal",
"example": "normal"
},
"host": {
"type": "string",
"description": "The hostname to associate with this event for infrastructure correlation",
"example": "example_value"
},
"tags": {
"type": "array",
"description": "List of tags to apply to the event in key:value format for filtering",
"items": {
"type": "string"
}
},
"alert_type": {
"type": "string",
"description": "The alert type category for visual display in the Events Explorer",
"enum": [
"error",
"warning",
"info",
"success",
"user_update",
"recommendation",
"snapshot"
],
"default": "info",
"example": "error"
},
"aggregation_key": {
"type": "string",
"description": "An arbitrary string used to group related events into a rollup (max 100 characters)",
"maxLength": 100,
"example": "example_value"
},
"source_type_name": {
"type": "string",
"description": "The source technology or integration that generated this event (e.g., aws, chef, nagios)",
"example": "Example Monitor"
}
},
"required": [
"title"
]
}