Ingest Logs

POST /v1/loggers/{id}/ingest ingests the raw request body bytes.

Logger access requires either a logger owner via X-Glue-Authentication or a logger API key with Api-Key and Api-Secret.

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 }

Comments

Leave a comment