boltZharp Docs
filter_altLogs

Drop rules & retention

Stop keeping the logs you don't need, so they don't fill the Logs page or count toward your log storage — and know how long the rest is kept.

Drop rules

Some logs you don't want kept — a cluster's system pods (aws-ebs-csi-driver, cainjector), health-check noise. A drop rule drops matching lines the moment they arrive, from every agent, SDK, log source and API call: they aren't stored, don't appear in the live tail and don't count toward your log storage.

  • One service: on the Logs page, open the services menu and choose Exclude beside it, then Exclude service.
  • A pattern: Excluded logs… at the bottom of the services menu adds a rule by Service, Environment or Source — the whole name, with * matching anything, as in aws-ebs-* — or by Message contains, as in GET /healthz.
  • Keep beside an excluded service brings it back, from then on.

Rules take effect within 30 seconds. Lines already stored stay until they expire. Owners and managers can change the rules; there's also an API.

To stop logs before they leave a server at all, exclude them in the agent instead — a container label, a pod annotation or a Kubernetes namespace: see Log Configuration. In an SDK, lower what it sends — for example a higher logging level.

Retention and storage

PlanKept forLog storage
FreeUp to 7 days3 GB
IndividualUp to 14 days10 GB
TeamUp to 30 days30 GB
BusinessUp to 90 days200 GB
  • Every log is kept for the plan's retention, whichever way it arrived; logs on an app's Logs tab are the same lines and expire with them.
  • Log storage is how much your workspace keeps at once, not a monthly amount: as logs expire, their space is free again. Enterprise has no cap.
  • Logs are never refused for space. When storage is full, Zharp keeps your newest logs and deletes the oldest to make room, so you can search back less far than your plan's retention until you send less or upgrade. The live tail is never affected, and log alerts check every line as it arrives, stored or not.
  • The workspace owner gets an email and a dashboard notification at 85% and when storage first fills up, and the Logs page says how far back logs go. Current use is in GET /workspaces/:id/usage.
  • Need more room? On a paid plan, add extra storage from 10 GB to 1 TB under Settings › Log storage, billed with your plan: $3 per 10 GB a month, down to $1.20 per 10 GB at 1 TB (yearly plans pay ten months). You can also have Zharp add 10 GB when storage fills up instead of deleting old logs, up to a limit you set; you get an email each time.
  • Only logs count. Traces, metrics, errors and session replays are kept for the retention, whatever the size.
  • Dropped lines never count. With Data backup on, logs are only deleted once they're in your bucket.

Next