Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Sampled Log Retention Budget

Size retained logs with separate error retention and successful-request sampling.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaRetained events per second = rate*(error+(100-error)*sample/100)/100; Raw retained volume = rate*(error+(100-error)*sample/100)/100*bytes*86400*days/1e9

Made for real tasks

  • Size retained logs with separate error retention and successful-request sampling.
Explore step-by-step workflows →

Worked example

Inputs

Events per second
1000 events/s
Error share
2 %
Success sample rate
10 %
Bytes per event
500 bytes
Retention
30 days

Expected results

Retained events per second
118 events/s
Raw retained volume
152.928 GB

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter events per second, error share, success sample rate, bytes per event, retention in the displayed units.
  2. Calculate the scenario, then compare it with measurements before changing a system.

Try this example

{
  "rate": 1000,
  "error": 2,
  "sample": 10,
  "bytes": 500,
  "days": 30
}

Accuracy and scope

Retains every error; excludes indexing, replicas and compression.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.