Sending Logs

You can send logs through a simple HTTP(s) API or send all server logs with our CL Agent

Sending logs through HTTP(s) API

Send a single simple log message:

curl -X POST http://localhost:8080/api/v1/log/{log-source-token} -d "this is a log entry"

Send structured logs in JSON:

curl -X POST http://localhost:8080/api/v1/log/{log-source-token} -d '{"level": "error", "msg": "something went wrong"}'

Send a bunch of logs from a file:

curl -X POST http://localhost:8080/api/v1/ingest_logs/{log-source-token} -d @mylogs.txt

This will make a long entry for every line of text sent separated by new line.

You can send compressed logs with gzip:

curl -X POST https://localhost:8080/api/v1/ingest_logs/{log-source-token} --data-binary @mylogs.gz

💌 Get notified on new features and updates

Only sent when a new version is released. Nothing else.