6 min read

Drop a Week of Captures at Once: Batch Analysis and Multi-File Comparison

Monday morning, and twenty captures from last week need a once-over. Opening them one by one won't finish before lunch. Here's how to process a whole folder at once in PcapDecoder, compare packet counts, bytes, and findings side by side, then export a summary for the odd one out.

Drop a Week of Captures at Once: Batch Analysis and Multi-File Comparison
SummaryKey Points
  • The scenario: twenty captures, no time to open them one at a time
  • Pick a directory on the dashboard; the engine parses each file in a background isolate
  • Review the overview and per-file detail, then the E27 chart lines up packets / bytes / duration / findings
  • Export a summary PDF for the file that stands out — export requires Pro

Twenty Captures, No Time to Open Them One by One

Monday morning lands you with a triage task: five days last week, four or five captures a day, twenty-odd pcaps, and someone wants to know whether any of the traffic looked off. The old way — open one, check the protocol split, scan the anomalies, close it, open the next — burns the whole morning just getting through the files, before any comparison happens.

What you need is a different rhythm: run everything through one pass, then decide which file deserves a closer look. That's what PcapDecoder's batch analysis is for. Instead of opening twenty tabs, it parses every capture in a directory serially, produces one summary report, and pairs it with a multi-file comparison chart so the unusual file reveals itself.

One thing up front: batch analysis is marked as a Pro feature in the code, and exporting batch results (MD / PDF) goes through the shared export gate and requires Pro. On the free tier you can view, filter, and copy the results on screen, but writing to disk needs Pro. The steps below follow the actual UI.

Pick a Directory and Let It Run

Step 1: Put the captures you want to review in one folder. The batch entry point is the batch card on the dashboard — click Choose directory and pick the folder with the system directory picker. A couple of things to know: the engine scans only that top level and does not recurse into subfolders, and files are processed in filename order.

Step 2: Know which files it will pick up. The engine first filters by extension — .pcap, .pcapng, .cap, and .gz, case-insensitive. If it meets an odd suffix like .pcapng.1, it falls back to reading the four-byte magic number in the file header and still recognizes it; gzip-compressed captures are decompressed transparently. So there's no need to unzip or normalize names — just drop the files in the folder.

Step 3: Watch the progress; don't rush off. While the batch runs, the dashboard card shows "done / total / current file" — something like "7 of 20 done, processing xxxx.pcap". The whole batch runs in a background isolate, opening only one document at a time, so parsing never freezes the main UI. You can do other things while it works. When it finishes, it takes you straight to the batch results page.

If the folder holds no captures, the page tells you it's empty rather than running once and handing back an empty report.

The Results Page: Overview First, Then Detail

When you land on the batch results page, don't scroll straight down. The page has three sections, and reading them in order is fastest.

Section one is the KPI summary and export actions. A line or two states how many files, packets, and findings the batch contains, with the export buttons lined up to the right. This gives you the big picture first: if the anomaly total across twenty files is surprisingly high, you're probably looking at a systemic problem, not a one-off — worth treating differently.

Section two is the per-file detail table. One row per file, with the filename, packet count, and anomaly count. The useful part is that it isn't afraid to flag failure: a file that couldn't be parsed shows its filename in red with the failure reason directly underneath, and the counts render as dashes. One glance separates "broken files that won't open" from "files that opened but have suspicious traffic" — two very different problems that shouldn't be debugged together.

The E27 Chart: Four Metrics Side by Side

Section three is the most valuable part of the whole batch — the E27 multi-file comparison chart. It turns each file's key metrics into grouped horizontal bars, so high and low values jump out.

Four metric groups, read them in turn:

  • Packet count — how many packets each file holds, one bar per file in the group;
  • Bytes — file size, best read against packet count: few packets but many bytes suggests a handful of large payloads;
  • Duration — the time span the capture covers, used to judge whether a high packet count is simply because it ran longer;
  • Findings — whenever any file reports an anomaly, a fourth group is added with a colour scale: 0 findings in green, anything above 0 in orange.

Within each group the bars are linearly normalized to the group maximum, so bar length is a relative comparison rather than an absolute scale. Each file keeps the same colour across all four groups, making it easy to follow one file through them. Above the chart are sort chips for packets, bytes, and duration; findings is display-only and doesn't get a sort chip. Each file also shows its top-three protocol chips where data exists — if one file's protocol mix looks clearly different from the rest, that's probably the one to dig into.

Back to Monday's task: the "odd file" you're hunting is usually the only orange bar in the findings group, or the one a full order of magnitude away from the rest on packets or bytes. The chart turns "you'd have to open each file to notice" into "you see it at a glance."

One boundary to note: with a single file, the chart doesn't draw metric bars — it shows a short hint instead, because there's nothing to compare against. With zero files, the component doesn't appear at all.

Flag the Outlier and Export the Summary

Once you've found the outlier, you'll likely want two things: look at that file closely, and hand off the overall conclusion.

To inspect the outlier, use the detail table to locate it, then open that capture on its own for deeper analysis. Batch analysis gives you the wide view; per-file investigation gives you the depth. They complement each other — the batch page doesn't replace single-file analysis.

For the handoff, use the exports. The results page offers four actions: export batch MD, save MD to disk, export the batch PDF summary, and save the PDF. The PDF summary is N-98, built with the same fonts and palette as the single-file PDF so the visuals match — cover, summary, and per-file detail are all inside, ready to email without reformatting. PDF export can optionally include an AI summary (subject to a quota pre-check by file count; if the quota is short it prompts and falls back to a local summary rather than quietly deducting anything).

All export actions go through the shared export gate: without Pro you're stopped at the paywall rather than getting a half-written file. So if the goal is a weekly report for your team, make sure the account has Pro.

The rhythm in full: drop files in a folder → choose the directory on the dashboard → batch runs in the background → overview and detail on the results page → pick the outlier in the chart → export the summary. Twenty captures go from "a whole day" to "a coffee break to see the whole picture, then focus on the one that matters."

Batch AnalysisMulti-File ComparisonpcapReport ExportTriage
Share
Back to home