Send more
Logs
Install HTTP, NDJSON or OpenTelemetry
Logs go to https://in.blipit.io/api/v1/logs as a JSON array or NDJSON, up to 1,000 lines or 1 MB per request, gzip allowed, with the secret or public key. OpenTelemetry log exporters post to /v1/logs. Each line is message and level, plus optional timestamp, service, environment, trace_id and up to 50 flat attributes.
1Any language
curl https://in.blipit.io/api/v1/logs \
-H "Content-Type: application/json" \
-H "X-Blipit-Key: <secret key>" \
-d '[{"level":"info","message":"order placed","service":"api","attributes":{"order_id":42}}]'2OpenTelemetry
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=https://in.blipit.io/v1/logs
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL=http/json
OTEL_EXPORTER_OTLP_LOGS_HEADERS=x-blipit-key=<secret key>3Node, batched
const lines = [];
const log = (level, message, attributes = {}) =>
lines.push({ level, message, service: "api", timestamp: new Date().toISOString(), attributes });
setInterval(() => {
if (lines.length === 0) return;
fetch("https://in.blipit.io/api/v1/logs", {
method: "POST",
headers: { "Content-Type": "application/json", "X-Blipit-Key": process.env.BLIPIT_SECRET_KEY },
body: JSON.stringify(lines.splice(0, 1000)),
}).catch(() => {});
}, 2000).unref();Good to know
- Allowance by size per month: Free 1 GB, Solo 5 GB, Team 20 GB, Scale 100 GB. Past it, new lines are dropped until next month, never billed.
- Retention: 3 days on Free, 14 on Solo, 30 on Team and Scale.
Stuck? Email support@blipit.io. Keys and the exact DSN for each project are under API keys in app.blipit.io.

Sign in