Ingesting Logs

Direct ingest writes the raw request body to the logger.

1curl -X POST "https://api.hola.cloud/v1/loggers/logger_xyz789/ingest" \
2  -H "Api-Key: LOGGER_API_KEY" \
3  -H "Api-Secret: LOGGER_API_SECRET" \
4  --data-binary $'line one\nline two\n'
1{ "n": 18 }

Framed ingest uses logframe data on POST /v1/ingest/events. Each frame metadata must include project_id; the response reports accepted events and written bytes.

Comments

Leave a comment