Elasticsearch hot, warm and cold tiers in Security Onion: when a single search tier stops being enough
Tiering moves older indices onto different storage and node roles as they age, so analysts keep fast searches on recent events while older network and event data stays available for longer. It is worth planning when you need retention beyond what a single search tier can answer quickly, or when recent-data searches already slow down as the dataset grows. Security Onion stores its search data in Elasticsearch, and the recommended Distributed design separates the manager, sensor and search roles. Tiering is therefore a decision about where indices live as they age, not a separate product or a single setting.
The core trade-off is query speed against retention. Recent indices receive most of the investigation traffic, so they benefit from the fastest storage and the most search capacity. Older indices are queried less often, so slower or cheaper storage can hold them, but searches that span old and new data will take longer and may affect the analysts running them. Before you change anything, map which dates your analysts actually query, how often they reach back past a few weeks, and which searches must stay quick. Those answers, not a fixed retention target, determine whether a second tier pays off.
Confirm the tiering options your Security Onion version supports in the architecture docs at Security Onion architecture before designing anything. Ask your Security Onion contact which data tier node roles and index lifecycle mechanisms the release uses, and whether changing a node's role on an existing grid is supported or requires rebuilding. Also confirm how the manager's role in the grid affects indexing when a node is changed. Document these answers in your design, because a role change on a live search node carries operational risk that is easier to plan for before the data arrives than after.
Indices age from hot search nodes into warm and cold tiers
The flow starts at sensors, which send metadata and alerts to the manager pipeline. The manager queues that work in Redis, and hot search nodes pull from the queue and index it. Indices then move into warm and cold tiers under a lifecycle policy, and analysts query across all three tiers. Security Onion configures the sensor, manager and search-node steps. The age-based movement between tiers is Elasticsearch lifecycle behavior, so confirm the policy, the tier assignments and the query results in your own grid. Search nodes stop indexing if the manager is unreachable, so monitor it as a dependency.
Data flows from sensors through the manager queue to hot search nodes, then ages into lower tiers.
Which tiering approach fits your retention and search pattern
This table compares the three designs a team lead must choose between: one search tier with default lifecycle, dedicated warm or cold data roles, and ILM versus data stream lifecycle. Read each row against your retention target and how often analysts search older data. The main takeaway is that role changes and lifecycle mechanisms are separate decisions, and each needs confirmation against the docs for your exact Security Onion version.
| Approach | What it changes and when it fits | Main trade-off | What to confirm in the docs for your version |
|---|---|---|---|
| Single search tier, default lifecycle | All indices stay on the same search nodes and age under the default behavior. Fits short retention or a small network where older data is rarely searched. | Storage and query load grow together, so long retention competes with fast searches on the same hardware. | Default hot index age, how the lifecycle is applied to your indices, and the retention setting exposed in the Console. |
| Dedicated warm or cold data roles on separate nodes | Older indices move to nodes with a warm or cold data role. Fits longer retention where recent searches must stay fast and older searches can be slower. | Adds node types to size, patch, monitor and back up, and moving data between roles adds load and failure points. | Which Elasticsearch data roles Security Onion assigns to which nodes, whether these roles are supported in your deployment type, and the supported procedure for adding them. |
| Index lifecycle management (ILM) | Policies define when indices roll over, change phase and move between tiers, using index-level settings. Fits teams that already manage ILM policies and need explicit phase control. | Policy errors can leave indices stuck in a phase, and changing policies on live data needs careful testing. | Which ILM policies Security Onion ships or manages, whether you may edit them, and whether Security Onion upgrades overwrite your changes. |
| Data stream lifecycle | Elasticsearch manages retention for data streams with a simpler lifecycle setting and no phase-by-phase policy design. Fits teams that want fewer moving parts for time-based retention. | Less control over tier movement, so it may not match a multi-tier layout or a custom phase model. | Whether Security Onion's indices are data streams in your version, which lifecycle mechanism applies to each index family, and how the two interact if both are configured. |
| Changing node roles on a live grid | Reassigning a node's role or moving it into a tier after data exists. Fits planned capacity changes with a tested rollback. | Data movement and reindexing can slow searches and ingest, and a wrong role change can strand shards. | The supported change procedure, expected shard movement behavior, and the backup you need before any role change. |
| Keeping data on the search tier with longer retention settings | Retention is extended on the existing search nodes without tiering. Fits a modest increase in retention where disk and query capacity are already planned. | Costs rise with disk, and search latency on old data may become unacceptable as indices grow. | Disk headroom per node, how retention changes affect existing indices, and the monitoring you should set for Elasticsearch health. |
How hot index age decides when data leaves fast storage
The age at which an index leaves the hot tier sets how much recent data stays on your fastest Elasticsearch nodes, so it is the first tiering decision to make. Analysts usually work inside a look-back window that is shorter than the retention period: a case might start with an alert from last week and pivot to events from the previous month. Set the hot age so that the window analysts query most often stays on hot nodes, and treat anything older as data you accept will be slower to search. Write that window down before you touch any configuration, because it is the only defensible input to the value.
The cost side is straightforward but easy to underestimate. Older data on warm or cold nodes, which typically have slower storage or fewer resources, answers queries more slowly, and a broad hunt that spans both tiers will wait on the slowest set of shards it touches. Moving an index between tiers also adds I/O on the nodes involved, which can compete with ingest and searches during the move. A hot age that is too short creates frequent moves and pushes common investigations onto slower storage; one that is too long keeps expensive capacity filled with data nobody queries. Ask whether your planned tier hardware has been sized for the moves you expect.
For the actual value, get the current hot-age guidance from the Security Onion architecture documentation for the release you run, since tiering behavior has changed between major versions. Then measure your own query patterns over a representative period: which time ranges analysts search, how often they go beyond the hot window, and how long those searches take. Confirm with Security Onion Solutions or your own test grid before relying on any figure you read elsewhere, and do not carry a default from another deployment into yours.
Risks of changing node roles on a running grid
Changing which nodes hold which data tier touches indexing, shard placement, lifecycle rules and the upgrade path all at once. The cards below cover the failure modes we see most often, with the symptom, the cause and the check to run before and after the change.
Indices unavailable during role changes
Moving a data role off a node can leave shards unassigned or relocating while searches are still running. The symptom is red or yellow index health, queries that return partial results, or hot data that suddenly becomes slow to read. Before the change, record cluster health and the shard count per node, and confirm the replica count covers the node you plan to drain. After the change, confirm health returns to green and no shards remain unassigned. Confirm the exact drain and role procedure for your release with Security Onion support before you start.
Search nodes stop indexing without the manager
The architecture docs state that if the manager goes down, search nodes stop indexing because they cannot reach Redis. A tier change that involves the manager, or a maintenance window that takes it offline, therefore halts ingest on every search node at once. The symptom is a growing backlog on sensors and no new documents in recent time ranges. Check manager reachability and queue state before the change, and confirm how long buffered events can wait on sensors before they are dropped.
Architecture docsShard and replica imbalance after moves
When a node changes role, Elasticsearch redistributes shards to match the allocation rules for the tier. Skewed placement can put most hot shards on one node, or leave replicas co-located with primaries on the same host, which removes redundancy. The symptom is one node with high disk or CPU and others idle. Before the change, review shard distribution per node and per index. After the change, confirm each primary has a replica on a different node and that disk usage is roughly even across the tier.
Lifecycle policies that conflict with grid config
An ILM policy or data stream lifecycle edited by hand can disagree with the configuration Security Onion manages through Salt. The symptom is indices that never move to warm or cold, or that are deleted earlier than your retention plan states. Compare the active policy and its phase timings against your documented retention, and confirm which layer owns each setting before editing anything. Record the policy version in your change ticket so a rollback restores the exact prior definition.
Upgrade and soup compatibility
Role and tier settings can be overwritten or reset during a soup upgrade if they were changed outside the supported configuration path. The symptom appears after the upgrade: nodes rejoin with default roles or policies revert. Before any upgrade, confirm with Security Onion how tier customizations are treated in the release you run, and record the current node roles and lifecycle settings. After the upgrade, compare them against that record. The upgrade process is described in the Security Onion upgrade guidance for your version.
Untested rollback path
A role change that cannot be reversed leaves the grid in a state the team has never seen. The symptom is a change that works in one direction but fails when you try to restore the prior roles. Rehearse the rollback on a lab grid built from the same release before touching production. Keep a dated snapshot or backup of the node configuration and index settings, and write down the order in which roles are restored. Confirm backup and restore steps for your deployment with Security Onion before the window opens.
Setup sequence for tiered retention
This sequence moves a Security Onion grid from a single-tier index layout to hot, warm and cold tiers in a controlled way. Each step ends with a check so you know the change is working before it reaches production data.
Confirm grid version and deployment type
Record the Security Onion version, the operating system, and whether the grid is Standalone or Distributed with a manager, sensors and search nodes. Tiering depends on the version's Elasticsearch layout and on which nodes hold data, so the Security Onion architecture documentation for your release is the reference for every later step. Confirm that the grid is Distributed, since that is the recommended production design. Done when the version, deployment type and node roles are written down and match what the grid reports.
Record current indices, storage and query patterns
Capture the current index list, the disk used per node, the shard count and the age of the oldest data. Also record which searches analysts run most often, such as recent alert triage versus long-range hunts over several months. Note which nodes hold the data and how much free disk remains on each. Done when you have a baseline document that shows where data lives today and which queries depend on fast access to older data.
Write hot-age and retention goals
Decide in writing how long data stays on fast storage, how long it remains searchable on slower storage, and when it is deleted or frozen. Tie each goal to a specific use, such as recent triage or compliance-driven log retention, and name the owner who signs off on it. Keep the goals in your change record so later tuning has a reference. Done when the signed goals list each tier, its age boundary and its purpose.
Choose ILM or data stream lifecycle
Compare index lifecycle management (ILM) with data stream lifecycle against the Security Onion documentation for your release and confirm which mechanism the grid uses for its indices. Do not assume that a method from general Elasticsearch guidance applies unchanged, because Security Onion manages index templates and policies itself. Ask the vendor or your own Elasticsearch administrator to confirm any custom policy will survive future Security Onion upgrades. Done when the chosen method and its supporting configuration are documented with the reason for the choice.
Change one node role in a test grid
Build or reuse a test grid that mirrors production layout, then change the role of a single search or data node to the warm or cold tier as your design requires. Keep the change to one node so that any fault is easy to isolate. Record each command or configuration key you touch so the change can be reversed. Done when the test node shows the new role and the grid still accepts data.
Verify cluster health, index placement and query latency
Check cluster health and confirm that the cluster is green or yellow for expected reasons. Verify that indices move to the tier that the policy assigns and that no shard is stuck in allocation. Run a test search that spans hot and older data, and compare the response time with the baseline from step two. Done when cluster health is stable, placement matches the policy and the cross-tier search meets the latency target you set in step three.
Roll out and document the policy
Apply the same role change to production one node at a time, verifying health after each node. Keep a rollback plan that names the node, the configuration state to restore and the person who approves it. Update the grid documentation with the final tier map, the lifecycle policy, the retention goals and the test search used for verification. Done when production health checks pass, the documented tier map matches the live grid and the runbook is stored where operations staff can find it.
Protecting older data on warm and cold nodes
Older indices deserve the same security attention as hot data. Warm and cold indices still hold Zeek and Suricata network metadata, alerts, case evidence and, where full packet capture is enabled, references that point analysts toward stored traffic. Moving data to cheaper nodes changes where it sits and how fast it is queried, but it does not change how sensitive it is. Before you assign a tier to any index pattern, decide who may search it, who may export it and whether those rights match the rights you already grant on hot data. Confirm how your edition's role-based access controls apply to searches across older indices, since a user who cannot see recent alerts should not be able to reach the same events once they age into a colder tier.
Encryption at rest is the second decision. Cold and warm nodes often run on lower-cost storage, sometimes in a different rack, cloud account or site, so their disks deserve the same scrutiny as the search nodes that hold recent data. LUKS data-at-rest encryption is a Security Onion Pro feature, so if you run the Community edition you need another approved method, such as encrypted storage provided by your hypervisor or cloud platform, and you should document it. Confirm with Security Onion Solutions which controls each edition supports before you write them into a design. The Security Onion Pro page lists the Pro feature set.
Retention has an end point, and the end point needs a procedure. Define how long each tier keeps data, how backups of older indices are taken and tested, and how indices are deleted when retention expires, including any copies held in backups or on sensor disks. Record every change to lifecycle policies, data tier node roles and retention periods with a named approver, and keep those records with your audit logs so you can show when data was moved, retained or removed. Before you change a node role, test the lifecycle change on a non-production grid and confirm that deletion and backup jobs behave as your records state.
Limits to confirm before you commit to tiers
Tiered Elasticsearch retention in Security Onion depends on several limits that sit outside the tier design itself. Confirm each one against the version, distribution and topology you plan to run, because a setting that works on one release may not carry over to the next.
Version and edition support
Confirm that your Security Onion version and edition support the data tier roles you want to assign. Ask Security Onion Solutions whether the tier roles you plan are documented for your release, and whether any tier-related behavior differs between the open-source distribution and Security Onion Pro. Test the role assignment in a lab before you change anything on the production grid.
Architecture docsOperating system support
Security Onion 3.0.0 supports only Oracle Linux 9, so the distribution you run limits which release line you can use. Confirm the operating system for every node that will hold indexed data, including any search or manager node you add later. A tier design that assumes a different distribution will not carry over, and a mismatch found after deployment usually means a rebuild.
3.0.0 release postHardware against published minimums
Compare the hardware planned for each tier role against the published minimums for manager and search nodes. Minimums are a floor, not a sizing guide, so confirm that warm or cold nodes meet the memory and storage needs of the retention you plan. Ask your team to measure disk throughput and heap pressure in a test environment with realistic log volume before you buy or repurpose hardware.
- Manager or search node RAM
- 16 GB
Cross-tier query behavior
Searches that span hot and warm or cold data can run slower than searches limited to recent indices. Test the analyst workflows you rely on, such as hunts, alert pivots and long time-range queries, against data that sits on each tier. Confirm with the vendor how these searches are routed and whether any dashboards or saved queries need changes to point at the correct data stream or index pattern.
Multi-site and Manager of Managers designs
If your grid spans several sites or uses Manager of Managers, confirm how tiered data is placed and queried across those grids. Ask where each tier lives, how cross-cluster search affects bandwidth and latency, and whether retention settings are managed per grid or centrally. Document the answers before you assign tiers, since moving data between sites later adds effort.
End-of-life dates for your version
Check the end-of-life date for the Security Onion version in use before you invest in a tier design. Security Onion 2.4 reaches end of life on October 1, 2026, and 2.3 reached end of life on April 6, 2024. Plan your upgrade path first, because a tier layout built on a release that will stop receiving updates may need to be redone during the upgrade.
End-of-life docsQuestions teams ask before tiering Security Onion data
How much effort does tiering Security Onion data take?
The effort depends more on the grid and the retention goal than on the tiering setting itself. Node count, the retention target, how analysts query the data and how changes must be approved all add work. A small grid with one search node, one retention goal and few saved searches is a bounded change. A grid with several search nodes, long retention and heavy wide-range queries needs more design time, more testing and longer change windows. Ask for the quote to split design, change and verification as separate items, and to state which node count and retention target each figure assumes.
Can an in-house team tier Security Onion data without outside help?
An experienced in-house team can do it, but the work needs several skills together. Engineers need Linux administration, working knowledge of Elasticsearch index lifecycle, shard and replica behavior, and node roles, and practical experience running a Security Onion grid, including its Salt-managed configuration and upgrade procedure. Someone also needs to read analyst query patterns and judge whether a warm or cold tier will slow the searches that matter. If one of these skills is thin, a partner can cover that part under a written scope while your team keeps ownership of the change.
What does the client need to provide for a tiering project?
Start with a current index inventory that lists each index or data stream, its size, its age and the node that holds it. Add query logs showing which searches run, how far back they reach and how often. You also need agreed change windows, a test grid that mirrors the production node roles, and named approvers for each change. Confirm that each node meets the minimum hardware in the Security Onion hardware documentation, which lists 4 cores and 16 GB RAM for a manager or search node. Those figures are minimums, so retention sizing needs its own check.
Should Security Onion use ILM or data stream lifecycle for its tiers?
The choice depends on the Security Onion version you run and on how your grid creates and manages its indices, so confirm the current guidance before you design. Check whether your version and deployment type support each approach in the Security Onion architecture documentation. Other factors matter too: whether your team already operates index lifecycle policies, how upgrades treat lifecycle settings, and how easily you can test each option on a non-production grid. Record the decision and the reason in the design document so the next upgrade does not reverse it by accident.
What happens to existing data during a node role change?
Existing indices stay where they are until a lifecycle action or a manual move acts on them. A role change alters where new data lands and which nodes answer searches, so a change can slow or hide results if it is made without a plan. The architecture documentation also notes that if the manager goes down, search nodes stop indexing because they cannot reach Redis, so manager health must be part of any change plan. Take a snapshot or backup before the change, test the move on the test grid, and check that searches return the same results afterward.
How do hardware and service ownership shape the cost of tiering?
Cost has two parts, hardware and labor. For hardware, hot nodes handle new data and recent searches, so they need fast storage and enough memory. Warm and cold tiers hold older data and can often use cheaper storage, but that only holds if their searches are rare. Hardware is partly one-time and partly recurring as storage grows. Labor is one-time for design, build and test, and recurring for reviews and changes. DeployOpen plans, implements and verifies this work under a written scope and does not publish prices. Ask each quote to list hardware, design, change and verification separately, and to say who pays for each.
How DeployOpen scopes and delivers Security Onion tiering
DeployOpen plans, builds, documents and supports Security Onion deployments inside your own infrastructure, including the Elasticsearch data tier design that keeps longer retention searchable. We start from your retention requirements, search patterns and node inventory, then agree the tier layout, lifecycle method and change controls in writing before any role is altered.
How we scope
- Document required retention per data type, search patterns and who runs queries against older data.
- Inventory existing manager, search and sensor nodes, their hardware and current Elasticsearch roles.
- Agree in writing whether the work uses ILM tiers or data stream lifecycle, and which node roles change.
How we build
- Assign hot, warm and cold data tier roles to nodes against the agreed sizing and storage plan.
- Configure index age thresholds and lifecycle policies, then test rollover and tier movement on a non-production grid first.
- Verify search response on recent and aged data, cluster health and indexing against the manager's queue before go-live.
How we hand over
- Deliver the tier design, node role map, lifecycle configuration and rollback steps as written documentation.
- Walk your operations team through checking shard placement, cluster health and tier movement.
- Record change procedures for future role changes so that role edits follow a tested sequence.
How we support
- Support is available as a retainer for tuning index age thresholds as retention and log volume change.
- Retainers can cover upgrades and re-testing of tier behavior after Security Onion releases.
- Ask for the support scope, response expectations and change approval steps in the written quote.

