ZevSight
Open app

Send data

Limits and batching

Request, event and field size limits for ingest, rate limits and the monthly quota, and how to batch efficiently.

These limits are the same on every plan. Plan-dependent limits, such as monthly ingest volume and retention, are on the dashboard’s Billing and Usage pages. See Billing and plans.

Per request

Limit Value
Events per request 5,000
Request size 5 MiB after decompression
Compression Content-Encoding: gzip
Idempotency-Key Up to 128 characters, remembered for 2 hours

Over either limit, the whole request is refused with 413 PAYLOAD_TOO_LARGE.

Per event

Limit Value Over the limit
Event size 256 KiB The event is rejected (listed in rejected)
body.message 64 KiB Truncated, marked zs.truncated=message
Keys in attrs and in resource 128 each Extra keys dropped, counted in zs.dropped_attrs
Attribute key length 128 bytes Dropped
Attribute value length 8 KiB Truncated
service, environment Slug, up to 64 characters Turned into a slug
Event time ts Up to 7 days in the past, 10 minutes in the future Replaced by the receive time; original kept as zs.original_ts
Age Within the project’s retention Rejected

Keys starting with zs. are reserved for ZevSight. Invalid UTF-8 is replaced with U+FFFD.

Rates and quota

  • Burst. Each workspace has an events-per-second burst limit set by its plan. Over it, ingest answers 429 RATE_LIMITED with Retry-After.
  • Monthly ingest. Counted per workspace per UTC calendar month, on the stored size of events (decimal GB).
    • At 80%, owners and admins are emailed, the dashboard shows a banner, and ingest responses carry a quota object.
    • On the free plan or a trial, at 100% logs are refused with 429 QUOTA_EXCEEDED, with Retry-After set to the start of next month.
    • On paid plans, logs are accepted up to 125%. From 125% to 150% only warn and above are accepted (quota.state is warn_and_above_only). Above 150% logs are refused.
  • Heartbeat pings and uptime check results are always accepted, whatever the quota.

Batching

  • Send batches, not single lines. A good default is to flush every second, or at 500 events or 1 MiB, whichever comes first. The Node.js SDK does exactly this.
  • Compress with gzip. Logs usually shrink five to ten times.
  • Give every event an id (UUIDv7), or every batch an Idempotency-Key, so retries never duplicate.
  • Buffer while offline, with a cap, and drop the oldest lines first.
  • Respect Retry-After on 429 and 503.

Built 29 November 2026 · View as Markdown