LogDoc
DOCUMENTATION > LOG COLLECTION

Log Collection & Routing

LogDoc collects logs from application SDKs, system sources and custom protocols — with flexible routing and real-time filtering

SDKs & Libraries

Built-in support for popular programming languages

System Sources

Collect logs from system services and daemons

LogDoc Protocols

Collect logs from any source through native LogDoc protocols

Data Transfer Format

A unified LogDoc log format ensures compatibility across all protocols and sources

logdoc-format.json
{
  "timestamp": "2024-01-15T10:23:45.123Z",
  "level": "ERROR",
  "source": "app.payment.service",
  "host": "prod-node-03",
  "message": "Payment processing failed",
  "fields": {
    "order_id": "ORD-98712",
    "amount": 1250.00,
    "currency": "RUB",
    "error_code": "TIMEOUT"
  },
  "tags": ["payment", "critical"]
}

Log entry structure

Every entry carries a standardized set of fields, keeping data consistent regardless of the source.

timestamp Event timestamp in ISO 8601 format
level Log level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
source / host Source and host the log came from
fields / tags Arbitrary fields and tags for filtering and routing