Blog

How Long Should You Keep Flow Data?

Part 4 of The Flow Record, Revisited. Part 1: Your NetFlow Knows More Than You Think. Part 2: Your Network Data Is Already AI-Ready. Part 3: You Don’t Need Full Packet Capture Everywhere.

Ask most teams what their flow retention is and you’ll get a number. Ask why it’s that number and you’ll get a shrug. It’s the collector’s default, or it’s where the disk filled up, or it’s whatever the last admin set before leaving. The window that determines whether you can answer next quarter’s hardest question was chosen by nobody.

Retention deserves better than that, because it’s not a storage setting. It’s a statement about which questions you intend to be able to answer, and how far back.

The short answer: keep flow data long enough to answer the questions your team gets asked. In practice, that means days of full-detail records for troubleshooting, months of full detail for investigations and abuse reports, and years of aggregates for planning. The disk is not the requirement. The questions are.

Start from the questions, not the disk

Different questions reach back different distances, and your retention should come from the ones your team gets asked.

Some questions live in the last few days. Why was the branch slow this morning? What changed on the WAN since Monday? These want full-detail, per-conversation records, and they want them fast.

Some reach back weeks. The abuse report that names one of your public IPs and a timestamp from three weeks ago. The security review that starts from a compromise discovered long after it began, where the first question is when this host first talked to that address, and the honest answer has to reach further back than anyone expected to look. The intermittent problem that only makes sense once you can line up every occurrence.

And some span quarters and years. Capacity planning wants this month against the same month last year. Budget conversations want growth curves, and growth curves want history. A trend is just a question asked of old data, and if the data expired, the trend is a guess wearing a chart.

Write down the questions your team fielded in the last year and the lookback each one needed. That list, not the disk, is your retention requirement. Most teams who do this exercise find the requirement is longer than their current window, which is exactly the finding worth having before the day it matters.

Detail is the other axis

Retention isn’t one number, because flow data doesn’t have to be kept at one level of detail. There are two honest levels.

Full-detail records hold every conversation individually, with all the fields your exporters send. This is what investigations need, because an investigation is always about specific conversations, and a specific conversation is exactly what summarization throws away.

Aggregated data rolls conversations up into summaries over time: totals by interface, by application, by host. Aggregated data is much smaller. It preserves the shape of traffic but gives up the individual records. Perfect for trends and planning. Useless for “what did this host do at 2:14 a.m.”

The design question is where the handoff happens: how long full detail stays before aging into summaries, and how long summaries live after that. Set the handoff too early and you save disk by cutting off your own investigation range. Every team that has aged an incident’s records into aggregates a week before discovering the incident knows what that trade feels like.

A way to structure it

Think in tiers, matched to the question types.

A hot tier holding recent full-detail records on fast storage, sized to the troubleshooting horizon where queries need to come back in seconds.

An investigation tier holding older full-detail records, where a query can take longer but the individual conversations still exist. This is the tier the abuse report and the delayed-discovery investigation land in, and it’s the one most defaults quietly don’t have.

A trend tier holding aggregates for as long as your planning cycle looks back, which for budget purposes usually means years.

This doesn’t require exotic storage. It requires deliberate tier boundaries and a collector that supports them.

Where Plixer fits

Scrutinizer’s storage is multi-tier and the tiers are configurable, so the handoffs described above are settings you choose. How much full-detail flow stays hot, how long detail persists before aggregation, how far back the summaries run: your call, adjusted as your questions change.

Preservation is the half worth dwelling on. Scrutinizer keeps the flow record as your network exported it, every conversation, unsampled, until the tier boundaries you set age it out. A retention policy is only as good as what it retains, and no setting recovers a conversation that was discarded on the way in.

Host Indexing sits behind all of it: a year of searchable host history by default, counted from the last time each IP was seen, so “was this host ever on our network, and when?” stays answerable long after full-detail records have aged into summaries. Behind that, how much full-detail flow to keep, and for how long, is your call, on storage you control.

That’s the quiet advantage of doing history on flow in the first place. It’s the data your network already exports, kept at a cost that makes long lookback realistic, which is a sentence no one running a rack of capture appliances gets to say.

The catch

Two things blow up retention plans in practice.

Template growth. Part one of this series argued for enriching your templates, and we stand by it, but every field you add makes every record bigger. When you enable new elements, revisit the tier math. Do not assume the answer is to enrich less. Recalculate the tier boundaries first.

Variety. Fields like URIs and DNS query names take on a huge number of distinct values, and that variety is what makes data resist aggregation. Know which of your enriched fields survive into your summary tier and which exist only while full detail lasts, so nobody is surprised later.

Key Takeaways

  • Retention is a decision about which questions you can answer, and how far back. Most environments never made it deliberately.
  • Derive the requirement from a year of real questions and the lookback each needed, then compare against your current window.
  • Keep two levels of detail: full records for investigations, aggregates for trends, with the handoff points chosen on purpose.
  • The tier most defaults lack is older full-detail data, and it’s the one late-discovered incidents and abuse reports depend on.
  • Unsampled collection is what makes any of it trustworthy. No retention setting recovers a record that was never kept.

Next Steps

Find out what your current retention is in practice: how long full-detail records survive before aggregation, not merely when data is deleted. Then pull the three hardest lookback questions your team faced this year and check whether today’s window would have answered them. If you’re running Scrutinizer, the storage tiers are in your hands, and this exercise tells you where to set them.

Frequently Asked Questions

Is there a standard retention number I should use?

No, and be wary of anyone who hands you one without asking what questions you answer. The requirement falls out of your own investigation and planning horizons, and those differ by organization.

Does keeping flow longer create a privacy or exposure problem?

Flow records are metadata about conversations, not their contents, which keeps the sensitivity well below packet payloads. They still describe who talked to what, so treat retention and access as governed decisions, the same way you would any operational log.

Aggregated data seems like a downgrade. Why keep it at all?

Because the questions it answers are questions about shape, and shape survives aggregation. Year-over-year growth on a WAN link doesn’t need individual conversations. It needs honest totals, kept cheaply, for a long time.

What should age out first when disk gets tight?

Decide it before it happens, because a collector under disk pressure will decide for you, and its priorities may not be yours.

How does this interact with the packet capture layer?

Cleanly. Flow is the long-memory layer measured in months and years; targeted capture is short and deep at chosen points. Part three of this series covers that split.