Log Ingestion
Upload logs to the pipeline
Drag & drop log files here
JSON, NDJSON, CSV, or plain text — validated before upload
Quick JSON Upload
API Reference
POST
/api/otel/v1/logs
Send log entries via OTLP HTTP to the OpenTelemetry Collector.
curl -X POST https://app.logclaw.ai/api/otel/v1/logs \
-H "Content-Type: application/json" \
-d '{
"resourceLogs": [{
"resource": {
"attributes": [
{"key": "service.name", "value": {"stringValue": "payment-api"}}
]
},
"scopeLogs": [{
"logRecords": [{
"timeUnixNano": "1741003200000000000",
"severityText": "ERROR",
"body": {"stringValue": "Connection timeout"},
"attributes": [
{"key": "host.name", "value": {"stringValue": "prod-web-01"}}
]
}]
}]
}]
}'Supported Formats
JSON
.json
Array or single object
NDJSON
.ndjson
One JSON per line
CSV
.csv
Header row required
Text
.txt/.log
One log per line
Required Fields
| Field | Type | Description |
|---|---|---|
| message | string | Log message (required) |
| level | string | DEBUG, INFO, WARN, ERROR, FATAL |
| timestamp | ISO 8601 | Auto-generated if missing |
| service | string | Service name for grouping |
| trace_id | string | Distributed trace correlation |