OpenCTI Elasticsearch index and disk space management

Learn how OpenCTI search indices grow, how to watch disk and watermarks, and how to plan capacity so the search cluster does not block writes.

On this page

Why OpenCTI search indices fill disks and block writes

This section explains how the search cluster stores OpenCTI data, why its disk use grows over time, and how to watch that growth before the cluster stops accepting writes. OpenCTI depends on Elasticsearch 8.0 or OpenSearch 2.9 or later as its search and storage layer for indexed knowledge, so the platform team owns that cluster as much as the OpenCTI application. The documented sizing for the search service starts at 2 cores, 8 GB RAM and 16 GB SSD, which is a floor for a small deployment and not a estimate of what a production instance will consume. The OpenCTI deployment overview is the starting point for confirming these dependencies against the version you run.

Disk use grows because every ingested STIX object, relationship, observable and its history is written as searchable documents, and ingestion from connectors adds to that volume continuously. Growth rate depends on the number of connectors, the size of the feeds they pull, how often enrichment runs and how much data your retention rules remove. Index names, rollover thresholds and disk watermark percentages are set by the OpenCTI version and the search engine version in use, and they differ between Elasticsearch and OpenSearch. Do not assume any of these values from documentation for another release. Confirm them against your running version's configuration and the search engine's own documentation before you set alerts or plan capacity.

Before you change anything, record the current size of each index, the free disk on every data node and the watermark settings the cluster is currently applying. Then ask your vendor or internal OpenCTI administrator which indices grow fastest in your deployment and what happens when a node crosses the high watermark. Those answers decide whether your first action is a retention change, a larger volume, an additional data node or a rollover adjustment. Treat any capacity figure you receive as a planning input to verify in your own environment, not as a guarantee.

Search engine and capacity options and when each fits

This table compares the search engine and capacity choices that shape disk planning for OpenCTI. Read each row as a decision: what the option is, when it fits, and what it changes for disk, monitoring and upgrades. The main takeaway is that the engine choice matters less for disk growth than the ingestion volume and retention rules you set, so validate growth against your own data before committing.

OptionWhen it fitsWhat it changes for disk, monitoring and upgrades
Elasticsearch 8.0 or laterTeams that already run Elasticsearch 8 and have staff experienced with its toolingDisk and watermark behavior follows the cluster settings you already operate; confirm version compatibility with the OpenCTI release you plan to run
OpenSearch 2.9 or laterTeams that want an Apache 2.0 licensed search engine with no paid edition in its FAQWatermarks, index lifecycle and monitoring are configured through OpenSearch tooling; confirm the index management features your OpenCTI version relies on
Single search nodeLab, proof of concept or small, short-retention deployments where losing search data is acceptableLowest footprint, but disk pressure has no replica or failover; a full disk stops writes with no second copy to fall back on
Multi-node clusterProduction platforms with sustained ingestion, long retention or a requirement for availabilityDisk is spread across nodes and watermarks apply per node; monitoring must cover each node, not only cluster health
Tight retention settingsTeams that need to bound index growth and keep search responsiveOld knowledge is deleted and cannot be restored, so set rules with the business owners before enabling them
Long retention settingsTeams that must keep historical intelligence for investigations or reportingIndices grow for longer, so disk and snapshot storage need explicit planning and regular growth reviews
Documented minimums onlyInitial sizing when no ingestion history exists yetDocumented minimums are 2 cores, 8 GB RAM and 16 GB SSD for Elasticsearch or OpenSearch; they do not predict growth, so measure your own ingestion volume

Elasticsearch or OpenSearch: what changes for disk operations

OpenCTI lists Elasticsearch 8.0 or OpenSearch 2.9 or later as its search dependency. Whichever engine you run holds the knowledge indices, so disk growth, watermark behavior and index lifecycle all sit with that engine. Start your planning from the engine version in your environment, not from the OpenCTI release number alone.

  • Sizing baseline: OpenCTI's documented sizing for Elasticsearch or OpenSearch is 2 cores, 8 GB RAM and 16 GB SSD. Treat that as a floor for a test environment and measure growth before sizing production disks.
  • Version floor: The minimum for this engine is 8.0, so an older cluster needs an upgrade before it can host OpenCTI.
  • Watermarks and lifecycle: Confirm in Elastic's own documentation how disk watermarks and index lifecycle management apply in your 8.x minor version, including when indices become read-only.
  • License scope: Confirm with Elastic which monitoring and lifecycle features your license level includes, because feature availability depends on the tier you buy.

Before planning any threshold, check your cluster version and disk watermark settings against the OpenCTI deployment overview and Elastic's current documentation.

How writes reach the search cluster and where disk alerts belong

The diagram starts with users and connectors calling the OpenCTI platform through its UI and GraphQL API. Writes are queued in RabbitMQ and consumed by Python workers, which write into Elasticsearch or OpenSearch, and the cluster stores indices on disk. The monitoring branch reads disk and index size, and a decision point sorts the cluster into healthy, warning or write-blocked states. Check the disk alert before the cluster reaches the write-blocked state, since the watermark thresholds depend on the engine version and your own settings.

Conceptual model of the write path and where disk checks sit; watermark states vary by engine version.

Setting up index growth monitoring before the first production load

This sequence gives the team a measured baseline, working disk and index alerts, agreed retention rules, and a load test that shows how the OpenCTI search cluster behaves before real intelligence volume arrives. Each step ends with a check so the team knows the monitoring is trustworthy before production data grows.

  1. Record baseline disk and index sizes

    On a test instance populated with representative data, the platform team records disk usage on each search node and the size of each OpenCTI index, including the indices that grow fastest. Capture the numbers at fixed points, such as after a seed import and after a set of connector runs, so growth can be attributed to specific activity. Keep the output in a shared runbook with the OpenCTI and OpenSearch or Elasticsearch versions in use. Done when the team can reproduce the same measurements with the same commands and explain which indices drive the growth.

  2. Confirm search engine version and watermark settings

    The platform engineer confirms which engine and version the deployment runs, since OpenCTI supports Elasticsearch 8.0 or OpenSearch 2.9 or later, and reads the disk watermark and write-block settings that apply to that version. Record each setting, its default, and any override in the cluster configuration, and confirm them against the vendor documentation for that exact version rather than from memory. Done when the team has a written table of effective settings and a named owner who reviews it after every upgrade.

  3. Enable index and disk metrics in monitoring

    The observability owner enables index size, document count, shard, and disk usage metrics on the search cluster and scrapes them into the existing monitoring stack. The OpenCTI metrics are enabled alongside them so index growth can be compared with queue and worker activity. Confirm that each metric has a dashboard panel and a stable label set so the series survive a restart. Done when a query for each disk and index metric returns current values for every search node.

  4. Set early warning alerts below the write block

    The platform engineer configures warning alerts on disk usage and index growth rate that fire well before the cluster's write-block threshold, with a separate, more urgent alert closer to that threshold. Route the warnings to the team that can act on them during working hours and the urgent alert to the on-call rotation. Confirm the thresholds against the watermark values recorded earlier so the alerts never fire after the cluster has already blocked writes. Done when a test alert reaches each channel and the team has documented who responds to each level.

  5. Define retention rules with the data policy owner

    The platform owner meets with the team that owns data policy to agree which knowledge, files, and workbench content may be deleted, how long it is kept, and who approves exceptions. Retention deletes cannot be restored, so the agreed rules are written down with their business justification before any job is enabled. Map each rule to the indices it affects so the team knows which growth numbers the rules will change. Done when the approved policy is signed off, and a reviewer can trace each rule to an index and an owner.

  6. Verify retention jobs run as scheduled

    On the test instance, the platform engineer enables the approved retention rules and watches the scheduled jobs run, checking the logs and the index sizes before and after each run. The team confirms the deleted items are the ones the policy named and that no other data disappears. The trash behavior is also checked so the team knows what can still be recovered and for how long. Done when a scheduled run produces the expected reduction in the recorded indices and the logs show no unexpected deletions.

  7. Run a load test that mirrors expected ingestion

    The team replays an ingestion profile on the test instance that matches the expected connectors, volumes, and bursts for production, while the monitoring from earlier steps records disk, index, and queue behavior. They also run a restore of a backup into the same environment to confirm that restoring does not exhaust the disk on the search nodes. Record how close the cluster comes to each alert threshold and whether the alerts fired at the planned points. Done when the load test completes without a write block, every alert fired as designed, and the restore finishes with free disk space still above the warning level.

Which OpenCTI indices grow fastest and what drives them

Index growth in OpenCTI follows what you put into the platform, so the first step is to map your inflow before tuning anything. Ingestion volume is the main driver: every bundle an import connector processes, every enrichment result an internal enrichment connector writes back, and every file a file extraction connector indexes adds documents to the search cluster. The number of connectors and Python workers multiplies that inflow, because more workers consume RabbitMQ messages faster and write faster. Retention settings then decide how long that data stays. Knowledge kept indefinitely accumulates, while retention rules that delete old objects slow the trend but cannot restore what they removed.

To find the fastest-growing indices, list index names, document counts and store sizes on the Elasticsearch or OpenSearch cluster at a fixed interval, such as with the _cat/indices API sorted by store size, and record the results over several days. Compare the growth rate per index rather than the absolute size, since a large index that grows slowly is a lower risk than a small one that doubles weekly. Then match each growing index to its source by checking which connector was active during the growth window and which OpenCTI object types it creates. Confirm index names and their mapping to OpenCTI object types in your own version, because the documentation this page relies on does not list them. Your version's release notes and a test ingestion into a non-production instance are the most reliable checks.

Securing the search cluster that holds threat intelligence

The search cluster holds the intelligence your OpenCTI platform has indexed, so its access controls and disk capacity need to be designed together. The cards below cover the controls to set before you tune watermarks or rollover, and the checks to repeat after each change.

Restrict access to the search API

Limit which hosts and services can reach the Elasticsearch or OpenSearch HTTP API, and close admin endpoints to everyone except named operators. Only the OpenCTI platform and workers need routine read and write access to the indices. Review who can call cluster settings, index deletion and snapshot endpoints, because a disk-related change made through the API can affect every index at once. Confirm the allowed network paths in your own environment before you open any firewall rule.

Enable TLS for node and client traffic

Encrypt traffic between search nodes and between the platform, workers and the search cluster. Decide which certificate authority issues node and client certificates, and who renews them. Expired certificates can stop OpenCTI from writing to the cluster, which looks like a storage failure. Check the TLS settings for your chosen engine version in its security documentation before you roll them out.

Apply role-based access control and audit logs

Create separate roles for the OpenCTI service account, for operators who monitor disk usage, and for administrators who change index lifecycle policies. Use document-level and field-level security where your model requires it, and confirm that your chosen engine supports the controls you need. Turn on audit logging so that index deletions, policy changes and failed authentication attempts leave a record. OpenSearch Security is one documented option for these controls.

OpenSearch Security docs

Keep snapshots with controlled access

Snapshots of indices are a recovery path if disk pressure, a bad rollover or an accidental delete damages data. Store snapshot repositories in a location that only the backup service account can write to, and restrict who can restore them into a live cluster. Test a restore into a separate cluster so you know how long recovery takes. Snapshot copies contain the same intelligence as the live indices, so they need the same classification and retention rules.

Plan patches within the maintenance window

Track the engine's release line and its end-of-maintenance dates so that you know when a version stops receiving security fixes. Test each patch against a copy of your OpenCTI index set before you apply it to production. Schedule rolling upgrades so that disk watermarks are not close to their limits during the change, since a node restart while shards are relocating can add temporary disk load. Confirm the supported upgrade path with the engine's migration documentation before you start.

What happens when the cluster reaches its disk limits

When the Elasticsearch or OpenSearch cluster behind OpenCTI reaches its disk limits, the search engine stops accepting writes to affected indices. For the platform, this means that every operation that creates or updates knowledge, such as ingesting a STIX bundle from a connector or enriching an observable, fails at the storage step instead of completing. The workers that consume RabbitMQ messages for asynchronous writes retry failed operations, and when the retries do not succeed, those messages stay in the queues. Connectors keep sending data, so the queues grow, and the symptoms show up first as stalled ingestion, rising queue depth and errors in the worker logs rather than as an obvious search outage. Reads may still work for a while, which can hide the problem from users who only browse the interface.

Recovery follows a general sequence. First, confirm the blocked state by checking cluster health and the index settings that the engine reports as read-only, and match that against the worker errors in the logs. Second, free disk space or add capacity to the data nodes, and confirm that usage is back below the watermark thresholds before doing anything else. Third, lift the write block only after capacity is restored, because lifting it earlier lets the cluster block again as soon as writes resume. Fourth, watch the RabbitMQ queues and worker throughput until the backlog drains, and check that no messages were dead-lettered or lost during the stall. The exact settings, API calls and index commands depend on the engine version you run, so confirm them against the documentation for your Elasticsearch or OpenSearch release and rehearse the full sequence in a non-production environment before you need it under pressure.

Limits to confirm in your environment before you size the cluster

The supplied facts give the dependency versions and sizing baseline, but not the thresholds, storage math or version pairings that decide when an index rolls over or a watermark blocks writes. Confirm each item below with the named source before you commit to node counts, disks or an upgrade window.

Rollover and retention thresholds per version

Rollover size, age and retention behavior for OpenCTI indices can change between regular releases and LTS lines. Do not carry thresholds from a previous install or from another team's configuration. Ask the vendor documentation and the OpenCTI release notes for the exact values in the version you plan to run, then record them in your capacity worksheet. Confirm which indices roll over and which are only deleted by retention rules.

Product life cycle docs

Disk watermark values for your engine

Elasticsearch and OpenSearch apply low, high and flood-stage disk watermarks that move shards and then block index writes. The defaults, and whether they are set as percentages or absolute free space, must be confirmed against the engine version you deploy. A search cluster that blocks writes stalls ingestion for every OpenCTI worker at once. Check the watermark settings in the engine's own documentation and test them on a disk sized close to production.

Storage for your ingestion rate

The supplied sizing gives a minimum for the search node, not a disk figure for your data. Storage depends on how much intelligence you ingest, how many enrichment results you keep, replica count and how long retention holds data. Run a load test with a representative import, measure index growth per day, and multiply by your retention window and replica count. Ask your team to show the arithmetic behind the disk request in the quote.

Documented minimum disk
16 GB SSD

Engine version support for your OpenCTI release

OpenCTI lists Elasticsearch 8.0 or OpenSearch 2.9 or later as dependencies, but a minimum does not prove a given release has been tested with a specific engine build. Confirm the supported engine version pairing for your exact OpenCTI version in the release notes and deployment docs before you choose between Elasticsearch and OpenSearch. Note any licensing or distribution differences that affect your choice.

Deployment overview

LTS line effects on dependency versions

An LTS release receives only critical bug and security fixes after its stabilization month, so a dependency upgrade you need may arrive on a different release line. Check whether the LTS line you choose pins or changes engine, Redis or RabbitMQ requirements, and plan the search cluster upgrade against the LTS overlap window. Ask the OpenCTI release notes for the dependency changes in each hotfix you intend to apply.

OpenCTI releases

Questions teams ask before managing OpenCTI disk space

How much effort does managing OpenCTI Elasticsearch disk space take?

Effort depends mainly on the size of the search cluster, the number of indices, the retention rules you set, and how mature your monitoring is. A small deployment with a few indices and clear retention rules needs periodic checks of index growth and disk usage. A larger deployment with high ingestion volumes, many connectors and no alerting needs continuous watching, tuning of rollover thresholds and regular capacity reviews. Ask any partner to size the work from your actual index sizes and daily growth, not from a generic estimate. Note that OpenCTI's documented baseline for Elasticsearch or OpenSearch is 2 cores, 8 GB RAM and 16 GB SSD, which is a starting point for planning, not a capacity figure for your data.

Can our team manage OpenCTI disk space without outside help?

Yes, if your team already runs a search engine in production and has a test environment where index changes can be tried before they reach production. The work requires understanding index lifecycle, rollover thresholds, disk watermarks and how OpenCTI writes to its indices. Teams without that experience usually need time to learn the search engine's behavior under load, and a cluster that reaches its flood-stage watermark can block writes, which stops ingestion. If those skills are missing, the safer route is to train the team on a test cluster first or bring in an outside party for the initial setup and handover.

What would a partner need from us to plan OpenCTI disk capacity?

A partner would need read access to the running environment and the search cluster's health and index statistics, plus a view of ingestion volumes by connector over a representative period. They will also need your retention requirements, including how long knowledge, files and workbenches must stay available, and whether any data must be kept for regulatory or sharing reasons. Access to your monitoring stack, existing alerts and the hosting platform's disk and snapshot setup completes the picture. Confirm in writing who provides each item, which environments may be touched, and how changes will be approved and rolled back.

How long does an OpenCTI disk space engagement take?

The duration depends on the scope agreed in writing and on your environment, including cluster size, the number of environments to change, change approval steps and how much monitoring already exists. A scope limited to reviewing indices, setting rollover and watermark thresholds and documenting alerts takes less time than one that also includes capacity modeling, retention design and a tested runbook. DeployOpen does not publish fixed durations. Ask for a timeline in the written scope, and confirm the dependencies on your side, such as change windows and access approvals, before work starts.

What changes in index management after an OpenCTI upgrade?

An OpenCTI upgrade can change the schema, the indices it expects and the migration steps it runs, so index settings and retention behavior should be rechecked after each upgrade. Review the release notes and the product life cycle documentation for your version before upgrading, because regular releases and LTS releases follow different support rules. Plan a capacity check on a test environment with a copy of your data, confirm that rollover and retention still behave as expected, and verify that monitoring still reads the right index names. Keep a rollback plan and a recent snapshot before the upgrade.

Which indices grow fastest and should we watch first?

The fastest-growing indices depend on what your connectors import and enrich, so measure them rather than assume. Start by listing every index with its document count and store size, then track daily growth over a representative period. Indices that receive high-volume imports, enrichment results or file-related data usually deserve the closest watch. Set alerts on both absolute disk usage and growth rate, because a steady rise can exhaust space before a fixed threshold is crossed. Confirm the index names and mappings for your OpenCTI version in the deployment documentation before writing any automation against them.

How DeployOpen scopes and supports OpenCTI search capacity work

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including the Elasticsearch or OpenSearch cluster behind OpenCTI. Index sizing, rollover, watermarks and disk alerts are scoped and handed over as part of that same self-hosted work, so your team can run them after the engagement ends.

How we scope

  • Written scope lists the OpenCTI indices, cluster nodes and storage tiers covered by the engagement.
  • Current data volumes, connector load and retention rules are reviewed before any capacity plan is agreed.
  • Deliverables, timelines and responsibilities for watermarks, rollover and alerting are confirmed in writing before work starts.

How we build

  • Rollover thresholds and index lifecycle settings are configured and tested against your actual ingestion pattern.
  • Disk watermark and write-block behavior is verified on a non-production cluster before changes reach production.
  • Index growth alerts and dashboards are wired to the monitoring stack your team already uses.

How we hand over

  • Runbooks cover checking index sizes, expanding storage and responding when the cluster approaches its watermarks.
  • Retention and cleanup steps are documented with clear warnings that deleted knowledge cannot be restored.
  • Your team walks through a test rollover and a disk pressure drill before the engagement closes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Capacity reviews can be repeated when connector volumes, retention rules or OpenCTI versions change.
  • Ask any provider, including DeployOpen, to confirm which cluster versions and OpenCTI releases the capacity plan covers.

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.