HTTPLogItem is a JSON Structure definition published by Datadog, describing 6 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-logs-http-log-item-structure.json",
"name": "HTTPLogItem",
"description": "A single log entry to submit to Datadog",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The message content of the log entry. This field is required and indexed for search.",
"example": "CPU usage is high on {{host.name}}"
},
"hostname": {
"type": "string",
"description": "The name of the host that generated the log entry",
"example": "Example Monitor"
},
"service": {
"type": "string",
"description": "The name of the application or service that generated the log",
"example": "example_value"
},
"ddsource": {
"type": "string",
"description": "The source technology of the log (e.g., nginx, redis, java) used for automatic processing",
"example": "example_value"
},
"ddtags": {
"type": "string",
"description": "Comma-separated list of tags to apply to the log entry in key:value format",
"example": "env:production"
},
"status": {
"type": "string",
"description": "The severity or log level of the event (e.g., info, warning, error, critical)",
"enum": [
"emerg",
"alert",
"critical",
"error",
"warning",
"notice",
"info",
"debug"
],
"example": "emerg"
}
},
"required": [
"message"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.