LogTide
v0.6.4
Released
Improvement

Flexible Batch Ingestion Formats

POST /api/v1/ingest now accepts direct arrays and wrapped arrays in addition to the standard format, improving compatibility with collectors like Vector and Fluent Bit.

  • Standard format {"logs": [...]} unchanged
  • Direct array payloads (Vector with codec: json)
  • Wrapped array payloads (Vector with VRL wrapping)
  • Array formats auto-normalize time, level, and service fields

The batch ingestion endpoint POST /api/v1/ingest now accepts flexible payload formats for better collector compatibility (Vector, Fluent Bit, etc.):

  • Standard format: {"logs": [{...}]} — unchanged
  • Direct array: [{log1}, {log2}] — Vector with codec: json
  • Wrapped array: [{"logs": [{...}]}, ...] — Vector with VRL wrapping

Array formats auto-normalize fields: time is auto-generated when missing, level is normalized, and service is extracted from the payload.