Profile a log file

Give Logcaliper a sample of the log you plan to collect. It reads the file in your browser, line by line, and reports what it is made of: how many lines and how long they run, the message templates behind them, the events per second over the time the sample covers, and what a year of it takes to keep. Nothing is uploaded.

Your browser reads the file here. Nothing about it is sent anywhere: this page is static, has no analytics and no upload. Open the Network panel while it runs: nothing goes to any server.
or drop one anywhere on this page

Files of 50 to 500 MB are the normal case.

No log at hand? Try the sample: 1.5 MB of made-up syslog, fetched from this site and then read like any file.

How this works. The file is read in chunks of about 8 MB by a Web Worker, so the page stays responsive while it runs. Every line's byte length is counted, terminator included, so the totals reconcile to the byte against the size of the file. Timestamps, addresses, ids and numbers are masked, then Drain, the log parsing algorithm, groups each line with the template it shares at least 40% of its words with and wildcards the words that differ; up to 4,000 templates are kept, and past that the least recently used are folded into Other. The rate is the lines that carry a timestamp over the span from the earliest to the latest, in whichever of six common formats the first 200 lines use. The storage line is the arithmetic of the app's Storage tab, at the retention and compression you pick.