Logs · Plans and data
Limits
Each package sets how many lines a project may send a month and how many days it may keep them. Both are per project.
Limits by package
Loading the limits…
Lines a month
Every line Logs stores counts once, in the calendar month it arrives, UTC. The count starts again on the 1st. A line sent again with the same id doesn't count twice, and a refused line doesn't count.
When the month's lines are used up, the rest of the month's are refused, line by line, as monthly-limit:
- The SDK drops them rather than keep them in the spool, as sending them again would only be refused again. It says so once in your app's own log, and once more when Logs takes lines again.
- The search and the live view still show every line you have.
- The project's admins get an email when it reaches 80 % and when it is used up, once each a month, and the project's pages in Logs say so at the top while it lasts.
Dropped lines are gone
monthly-limit aren't kept anywhere. To take in the rest of the month's, move the project to a bigger package at id.Days kept
The most days a project, or one of its environments, may keep its lines. You choose the number within it; lines older than their environment keeps them are deleted every hour. See Choose how long lines are kept.
On a package with fewer days, the project's number and each environment's come down to its most, and older lines go in the next hour.
When a subscription ends
When the workspace's subscription ends, Logs takes no new lines: the API answers 402. The SDK keeps the lines in its spool, up to its size, and sends them once the subscription is renewed. Meanwhile the project's pages stay open, read only, and its lines still go when they are older than their environment keeps them.
Limits on every package
| What | Limit |
|---|---|
| One upload | 1,000 lines, 4 MiB as sent, 32 MiB unpacked |
| Uploads | 1,200 a minute per key |
| A line's message | 32 KiB; longer is cut |
| A line's context, and its extra | 64 KiB each as JSON; more is replaced by a note |
| The live view | The newest 500 lines on screen |
| A request's page | Its first 2,000 lines; the search has the rest |