Ingest Agent Logs
POST/api/v2/device/telemetry/logs
Receives log entries from agents (including third-party logs forwarded by the agent) and stores them in Elasticsearch. Logs are categorized by deviceId, group and topic.
Request
- application/json
Body
required
Array [
]
Device identifier that generated/forwarded the logs
Group these logs belong to. A group encapsulates multiple topics; logs can be filtered by group and, within a group, by topic (e.g., agent, deployment).
logs
object[]
required
Array of log entries
Unique identifier for this log entry to prevent duplicates. Auto-generated if not provided.
Timestamp when the log was generated
Possible values: [DEBUG, INFO, WARN, ERROR, FATAL]
Log severity level
Log message content
Topic/source of the log (e.g., agent, app-name)
Additional metadata as key-value pairs
Responses
- 200
Logs ingested successfully