Logs
Ingest newline-delimited JSON log lines with a log ingest key.
Changed onOne JSON object per line; see the logs documentation for the keys read. A batch is parsed and charged to the budget whole before anything is stored, so a malformed or over-budget batch stores nothing. Storage is at least once: if storing fails part-way (a full disk), the lines before the failure are kept and counted against the key, the request fails, and a collector that resends the batch stores those lines again.
post/logs/ingest
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body application/x-ndjson
string required
Response
Lines stored
Changes
- info
endpoint added
- info