Security Onion storage sizing for PCAP and Elasticsearch

A planning guide to estimating disk for Security Onion PCAP and Elasticsearch data, covering throughput-based math, retention, RAID 10 or SSD, free-space watermarks and the minimum storage requirements.

On this page

Security Onion storage sizing for PCAP and Elasticsearch: what you need to plan first

A Security Onion grid needs two separate disk budgets: one for full packet capture on the sensors and one for Elasticsearch search data on the search nodes. Size them separately, because packet capture grows with the traffic you mirror, while Elasticsearch grows with the events you index and how long you keep them hot. Plan this before you buy hardware or pick cloud volume sizes, since disk is often the first item that is hard to change later. Teams usually need this work during procurement, during a cloud design review, or when a virtualization host has to be sized for sensor and search VMs at the same time.

For packet capture, start from the average throughput of each sensor's monitored links and convert it to data per day, then multiply by the retention window your investigations need. Suricata full packet capture replaced Stenographer in the 3.x line, so confirm with the current release notes how capture is written and pruned on your version before you rely on any per-day figure. For Elasticsearch, the search nodes hold the hot indices, and the planning question is how many days of indexed alerts, logs and Zeek metadata you must query quickly. Confirm the indexed volume per day from a pilot or from the vendor's sizing guidance rather than assuming a ratio.

Put the Elasticsearch data on fast storage. Security Onion recommends placing /nsm/elasticsearch on SSD or fast spinning disks in RAID 10, and the default Elasticsearch low watermark is 80%, so about 20% of that disk must stay free or indexing and shard allocation can stop. Your usable capacity is therefore less than the raw disk you install. Ask your hardware or cloud team to quote RAID 10 or SSD volumes at the sizes that leave that headroom, and confirm the 200 GB minimum storage for standalone nodes against your own partitioning plan. Treat these figures as planning inputs, not guarantees, and validate them with a load test on representative traffic.

How to estimate PCAP per day from average throughput

This sequence turns a measured average throughput on the monitored link into a daily PCAP volume and then into a retention-based disk figure. The result is a working estimate you can check against your own traffic before you choose disks.

  1. Measure average throughput on the monitored link

    Work with your network team to measure the average throughput on the link or span you plan to monitor, over several representative business cycles rather than a single peak hour. Record the figure in megabits per second and note the measurement window and tool used. This step is done when you have an average value, a note of the period it covers, and a list of any links that will feed the same sensor. The average is the input for everything that follows, so confirm it reflects the traffic you actually intend to capture.

  2. Convert bits per second to bytes

    Divide the average throughput in megabits per second by 8 to get megabytes per second. Megabits are a unit of bits, while disk usage is counted in bytes, so skipping this conversion overstates or understates storage by a factor of eight. Write the result down with the unit beside it. This step is done when the megabytes-per-second value is recorded and the team has agreed which unit each figure uses.

  3. Multiply by seconds per day

    Multiply the megabytes-per-second figure by 86,400, the number of seconds in a day, to get raw megabytes per day. Convert to gigabytes or terabytes using a consistent convention and label the output as raw traffic volume. This is the upper bound for captured data before any capture filtering, storage format, or compression is applied. The step is complete when you have a daily raw volume figure that the whole team uses in later calculations.

  4. Apply the retention window

    Multiply the daily volume by the number of days of PCAP you need to keep on the sensor. Retention is a policy decision, so take the number of days from your incident response and investigation requirements, not from a default. The product is the gross PCAP storage requirement for one sensor. This step is done when you have a total for the retention period and a written statement of the policy that produced the number.

  5. Add a safety margin for bursts

    Average throughput hides bursts, so add a margin on top of the retention total to cover peak periods and traffic growth. The size of the margin is a judgment for your team, and you should document the percentage you chose and why. Ask your network team how much traffic is expected to grow over the planned life of the hardware. This step is done when the margin is applied, documented, and the adjusted figure is the working capacity target.

  6. Confirm capture settings and compression behavior

    Before trusting the figure, check the capture and storage settings against the Security Onion hardware documentation and the Suricata configuration docs that cover full packet capture on your version. Confirm which traffic is recorded, how files are rotated and whether any compression or filtering reduces what is written to disk. Do not assume compression ratios without a test on representative traffic. This step is done when you have written down each setting that affects volume and recorded the source you checked.

  7. Record the estimate with its assumptions

    Assemble the throughput measurement, conversion, daily volume, retention, margin, and capture settings into one worksheet. Label the example values as illustrative and replace them with your own measurements before any purchase decision. Share the worksheet with the team that will own the sensor. The step is done when the worksheet can be reviewed on its own and each number traces back to a measurement, a policy, or a documented setting.

Storage layout options for PCAP and search data

This table compares single-disk, LVM and RAID 10 layouts for /nsm and /nsm/elasticsearch, along with SSD and spinning-disk media. Read each row against your write load, retention target and tolerance for a failed disk, then confirm the final layout against the hardware documentation for your node role.

Layout optionWhen it fitsTrade-off in cost, capacity and failure tolerance
Single disk, no RAID, /nsm on one volumeLab or evaluation grids where captured data can be lost without business impactLowest hardware cost and maximum usable capacity, but one disk failure loses PCAP and indexed data on that node.
LVM volumes carved from one disk or poolLabs or small deployments that want to grow /nsm later without repartitioningFlexible sizing and easy volume expansion, but LVM does not add redundancy, so failure tolerance matches a single disk.
SSD for /nsm/elasticsearchProduction search nodes with heavy indexing or frequent searches over recent dataHigher cost per terabyte than spinning disks, with better random I/O for search and indexing. Capacity per dollar is lower.
Fast spinning disks for /nsm/elasticsearchProduction deployments with long retention where capacity matters more than search latencyLower cost per terabyte and larger capacity, but slower random I/O. Confirm the disk speed meets your query expectations.
RAID 10 for /nsm/elasticsearchProduction search nodes where a single disk failure should not stop indexing or lose hot dataRecommended for /nsm/elasticsearch in the Security Onion hardware documentation. Usable capacity is about half of raw disk, and failure tolerance depends on which mirror pair fails.
Separate disks or arrays for PCAP (/nsm) and search dataSensors or combined nodes with high write rates where PCAP and indexes compete for I/OKeeps capture and indexing from sharing one volume, but adds procurement and layout complexity. Confirm the layout with the hardware docs for your node role.
Hardware RAID controller versus software RAIDTeams with an existing controller standard or a need for controller-level cache and monitoringController cache can help writes, but adds a firmware and supportability dependency. Confirm the controller is supported by your Security Onion version and OS.

Setting Elasticsearch hot retention and free space for watermarks

Hot retention is the number of days of search data kept on the fast Elasticsearch tier, and it is the setting that turns your daily ingest into disk use. Every day of retention holds a full day of indexed Zeek, Suricata and log data on /nsm/elasticsearch, so the disk you sized for PCAP and the disk you size for search data are separate budgets. Start from the volume of indexed events per day you expect from your sensors and endpoint integrations, multiply by the number of retention days you need for hunting and case work, then add replica and overhead allowances. Confirm the retention settings for your Security Onion version in the Security Onion docs: Elasticsearch page before you commit to a figure, because index lifecycle behavior is version specific.

Security Onion's default Elasticsearch low watermark is 80%, so about 20% of the disk should stay free. The low watermark is the point where Elasticsearch stops allocating new shards to a node, and the high and flood stages follow as usage climbs further. If the volume runs below that headroom, shard allocation and merges have less room to work, indexing can slow or stall, and the risk of a node entering a read-only state rises during a traffic spike. Because the same volume also holds the disk that grows with normal ingest, a retention plan that fills 80% on day one leaves no margin for a busy week.

Plan the retention number and the watermark together. Hold back the free 20% as a fixed reserve, subtract it from the usable capacity of the RAID 10 or SSD volume, and divide what remains by your daily indexed size to get the maximum hot retention. Then test the result with a load that matches your peak ingest, not your average, and watch disk usage and indexing health during that test. Ask your vendor or implementation partner to show the watermark values set in your running version, and confirm any change to them with the Elasticsearch documentation before you alter cluster settings on a production grid.

The 200 GB minimum and other hardware floors to check

The hardware floors Security Onion publishes are the smallest configuration that can run, not the size of a production grid. Use them as a pass or fail check before you size disks, memory and cores from your own traffic and retention targets.

The 200 GB storage floor

A standalone node needs at least 200 GB of storage. That figure covers the operating system and a minimal install, so it says nothing about how much PCAP or Elasticsearch data a busy network will produce. Treat 200 GB as the starting point for the check, not the answer. Once you know your daily PCAP volume and hot retention, the calculated disk usually exceeds this floor quickly.

Hardware docs

Manager and search node memory

Manager and search nodes need at least 4 cores and 16 GB RAM. Elasticsearch shares that memory with the console and supporting services, so a node that meets the floor can still struggle under heavy queries. Check memory against the number of indexed events you expect to search at once, and confirm the figure against the current hardware page before you order.

Sensor node memory and cores

A sensor needs at least 4 cores and 12 GB RAM. Suricata and Zeek workers consume CPU and memory in proportion to traffic, so these minimums only cover a light link. Sizing cores and RAM for your link speed is a separate step, and a sensor that meets the floor may still drop packets on a busy segment.

x86-64 processors only

Security Onion runs only on x86-64 processors. ARM hosts and other architectures are not supported, so an otherwise capable server can still be the wrong choice. Confirm the CPU architecture of every host, including virtual machine templates and cloud instance types, before you plan storage, because a rebuild on a different platform changes the whole disk layout.

Two NICs on standalone and sensor nodes

Standalone and sensor nodes need two network interfaces: one for management and one dedicated to monitoring traffic. The monitoring interface receives mirrored or tapped packets and should not carry management traffic. Plan the NIC layout with the storage layout, since capture disks fill fastest on the node that sees the most traffic.

Standalone and sensor minimum
2 NICs

How traffic becomes PCAP and indexed events on disk

The diagram starts at the sniffing interface on a sensor, where Suricata writes full packet capture to local disk while Zeek and Suricata produce logs. Those logs move through the pipeline to search nodes, which index them into Elasticsearch on /nsm/elasticsearch. The manager coordinates the grid throughout. The watermark applies to the search data path, so check free space there as well as on the PCAP path, because the two draw on different disks and grow at different rates.

Traffic becomes PCAP on sensors and indexed events on search node disks.

Questions teams ask before sizing Security Onion storage

How much disk does a Security Onion grid need?

There is no single number that fits every grid, because the answer depends on how much traffic you capture, how long you keep PCAP and how long you keep searchable events. Start from the minimums in the hardware documentation, which list 200 GB of storage for a standalone node, then add capacity for packet capture and Elasticsearch on each node that stores them. Size each node by its role, since sensors, manager and search nodes hold different data. Ask your partner or your own team to produce a per-node table with daily growth and retention targets before buying hardware.

Should we estimate storage from network throughput or from log volume?

Estimate PCAP from average throughput and estimate Elasticsearch from the event volume your sensors and agents actually produce, because they grow for different reasons. PCAP scales with the bytes crossing the monitored links, so a sustained average throughput multiplied by hours of retention gives a first figure. Elasticsearch scales with the number and size of indexed events, which depends on protocols, logging sources and enabled detections. Measure both on the live network if you can, since a planning average from a quiet week can understate peak periods.

What drives storage cost up or down?

The main drivers are the monitored traffic volume, the number of days you retain PCAP and searchable data, the disk type you choose for search data, and how much free space you reserve. Higher throughput and longer retention increase disk needs roughly in proportion, so a retention decision often has more cost impact than the hardware model. Disk type matters because SSD or RAID 10 arrays cost more per terabyte than single spinning disks. Ask for a quote that separates storage hardware, licensing, installation labor and any ongoing support, and that states the retention assumptions behind each figure.

Is RAID 10 required for Security Onion search data?

Security Onion recommends placing the Elasticsearch data directory, /nsm/elasticsearch, on SSD or fast spinning disks in RAID 10. The recommendation is about performance and fault tolerance for search data, and it is not a formal requirement for every lab or evaluation build. Non-production environments can use simpler layouts if they accept slower searches and the risk of data loss. Confirm the exact disk layout against the current hardware documentation for your release, and document any deviation with your team's risk owner.

How much free space should we leave on Elasticsearch disks?

Plan to keep roughly 20% of the disk free, because Security Onion's default Elasticsearch low watermark is 80%. When disk use crosses the watermark, Elasticsearch stops allocating new shards to that node, so an undersized disk can stall indexing even when the volume is not full. Add this reserve on top of the retention calculation, not inside it. Ask your team to confirm the watermark settings in their deployed version, since changing them affects how long data can stay on each node.

How long does a storage sizing exercise take, and what must we provide?

The duration depends on how quickly you can supply accurate inputs, so the biggest delay is usually missing traffic data rather than the calculation itself. Provide average and peak throughput for each monitored link, the number of sensors and search nodes you plan, your PCAP and searchable retention targets, the disk and RAID options your data center supports, and any compliance rules that set minimum retention. Your partner should confirm the scope and timeline in writing before work begins, because most engagements are fixed-scope.

Can our own team size Security Onion storage without a partner?

Yes, a capable platform or security engineering team can do the calculation with the official hardware documentation and good traffic measurements. The work is mostly arithmetic and measurement, but the risky parts are validating peak traffic, testing watermark behavior and checking the grid after deployment. If your team has not run a Security Onion grid before, a fixed-scope review can check the assumptions before you buy hardware. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, so the sizing can be reviewed against your environment.

Security and operational considerations for stored PCAP and search data

Packet captures and Elasticsearch indices hold the same network activity that an attacker or insider would want to see, so their storage needs controls alongside capacity. The cards below cover who can read PCAP, how long it lives, how it is encrypted, how it is backed up and how disk use is watched before watermarks change how the grid behaves.

Restrict access to stored PCAP

Full packet capture records payloads, which can include credentials, session tokens and personal data. Decide who may pull PCAP from the sensors and search nodes, and who may only see alert metadata. Confirm how the Security Onion Console roles and any shared operating system accounts on the nodes map to that decision, and test that an analyst without PCAP rights cannot download packet data through the console.

Hardware docs

Set a retention and deletion policy

Packet data is usually the most sensitive and the largest item on disk, so its retention should be written down separately from alert and log retention. Compute how many days of PCAP your chosen disk holds at your measured throughput, then decide whether that window matches your investigation and legal needs. Confirm how deletion is performed on each node and who signs off on exceptions for evidence holds.

Plan encryption at rest

The open-source Security Onion install does not provide LUKS data-at-rest encryption. LUKS encryption is a Security Onion Pro feature, so teams that must encrypt /nsm and Elasticsearch data at rest need to either license Pro or confirm an equivalent disk or hypervisor encryption layer with their own security team. Confirm the choice before the disk layout is fixed, because encryption changes how volumes are created and unlocked after a reboot.

Security Onion Pro

Design backups for search data

Backups protect the configuration, the Elasticsearch data and the ability to rebuild a node, and they must be sized alongside the storage they copy. Decide which paths are backed up, where copies live, how often, and how a restore is tested. Ask whether the backup target can hold the Elasticsearch data you plan to keep, since a backup larger than the hot tier is a common oversight in capacity plans.

Monitor disk use before watermarks

Elasticsearch stops allocating new shards when a disk crosses its watermarks, and the default low watermark is 80%, so about 20% of disk should stay free. Set alerts well before that threshold, for example at a level your team agrees, and track growth per node. Also confirm how the grid behaves when a search node fills, because a single full node can change where new data lands and what your analysts can query.

Elasticsearch docs

Document the operating checklist

The storage decisions only hold if someone checks them after go-live. Write a short checklist covering PCAP access reviews, retention runs, encryption status, backup restore tests and disk growth reports, with an owner and a frequency for each item. Store it with the grid runbook so that node replacements and upgrades keep the same controls in place.

Sizing storage with DeployOpen as part of your deployment

A DeployOpen engagement starts by turning storage questions into written inputs. Before any disk is ordered, we gather the figures that drive a Security Onion storage sizing: the average and peak throughput on each monitored link, the number of days of PCAP you need to keep for investigations, the event volume expected from Elastic Agent and syslog sources, the desired Elasticsearch hot retention period, and the disk layout your hypervisor or cloud platform can provide. We also confirm the deployment type, since a Distributed grid with separate search and sensor nodes sizes each role differently. Where a figure is not known yet, the scope records it as an assumption to be confirmed, not as a guess.

The output is a written scope and a sizing worksheet. The scope names the nodes covered, the /nsm paths each node needs, the RAID or SSD choice for search data, the free space margin kept for Elasticsearch watermarks, and the verification steps used to check disk use after go-live. The worksheet shows the inputs, the calculation and the assumptions in one place so your storage, security and platform teams can challenge each number. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that written scope. Ask for the worksheet to be reviewed against your own retention policy before purchase, because retention decisions often change the answer more than throughput does.

Ask DeployOpen to confirm three things in the scope: which inputs we will measure in your environment and which you will supply, who performs the measurement during a representative traffic period, and how the worksheet is updated when retention or traffic changes. Recurring work, such as re-checking disk use as traffic grows or after a release upgrade, is usually handled through a separate retainer, and that should be stated in the quote rather than assumed. Check the current Security Onion hardware documentation against the sizing in the worksheet before any hardware is purchased, because minimums and recommendations are version-specific.

How DeployOpen scopes and delivers Security Onion storage planning

DeployOpen plans Security Onion storage around your measured traffic, retention targets and node roles, then builds and documents the disk layout inside your own infrastructure. The result is a written sizing model your security and platform teams can review, test and adjust as traffic changes.

How we scope

  • Collect average throughput per sensor, peak periods and the PCAP and alert retention your investigations require.
  • Confirm the deployment type, node roles and the disk layout each manager, search and sensor node will use.
  • Agree the storage sizing scope, deliverables and timeline in writing before any work starts, as engagements are fixed-scope.

How we build

  • Configure /nsm and /nsm/elasticsearch on the storage you select, including RAID 10 or SSD for search data where planned.
  • Set Elasticsearch retention and free-space margins so the default 80% low watermark leaves room for indexing.
  • Test disk growth against sample traffic and verify that PCAP and index retention behave as the model predicts.

How we hand over

  • Deliver a storage sizing workbook with inputs, formulas, assumptions and the reasoning behind each retention figure.
  • Document partition layout, watermark settings, alert thresholds for disk usage and the steps to change retention later.
  • Walk your operations team through the model so they can recalculate capacity when throughput or retention requirements change.

How we support

  • Review disk usage and retention after go-live and update the sizing model when traffic or retention needs change.
  • Plan storage changes for upgrades, including grids moving between Security Onion releases.
  • Offer ongoing support and continuous testing as a retainer, scoped in writing separately from the initial engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.