[Feature Request]: Split logs with newlines in HTTP transport #2509
Labels
Feature Request
Request for new functionality to support use cases not already covered
Needs Investigation
🔎 Search Terms
http batch
The vision
The batch mode of HTTP transport wraps entries in a JSON array. That's not to the taste of every platform, which may prefer NDJSON (Newline delimited JSON).
I'd like batch mode to support putting one JSON object per line.
Use case
My particular use case is to use with Grafana Loki, using Alloy's HTTP API (see doc). The Loki Push API requires a specific format, but the raw api works fine with NDJSON.
Additional information
No response
The text was updated successfully, but these errors were encountered: