Optimization
On Elastic Cloud Hosted, Log10x holds the hot tier at a size the account sets: the lines of a log statement over its byte budget go to a tier-down index that ILM mounts in the frozen tier, or to S3, chosen per service (overview). How the 10x Engine affects hot/warm/cold tiering, data-node count reductions, handling fields whose values change per event, and search-time overhead from the L1ES plugin.
Does the 10x Engine help with hot/warm/cold tier optimization
Yes: compact on self-hosted Elasticsearch 8.17.0 or OpenSearch 2.19.0, tier down on any Elasticsearch with an Enterprise licence for searchable snapshots, Cloud Hosted or self-hosted. Compact mode shrinks the indexed footprint losslessly in place, so each tier holds fewer bytes. Measured on the OpenTelemetry demo sample in Elasticsearch 8.17.0, compact removed 51.7% of the raw index's bytes on disk, storing it at 48.3%, from 28.6 MB to 13.8 MB with the templates included. On Elasticsearch 9.5.5, logsdb with Elastic's pattern_text field sorted on its template id stored the same sample at 34.7% of the raw index, and the compact form on logsdb at 53.3%, so on 9.x the stored-bytes lever is Elastic's own (store measurement). Compact runs through the L1ES plugin built for 8.17.0; on 9.x, Cloud Hosted included, the levers are tier_down, offload and sample/drop.
Adding Retriever (offload) moves the slices you choose out of the cluster, keeping only the hot working set indexed. Offloaded data lands in the account's own S3 and stays queryable on demand from there; Elasticsearch re-ingests only what Retriever is asked to fetch back into a data stream. Compact and offload are non-destructive, so the data stays reachable; sampling and drop are lossy choices you opt into.
Bonus: Offloaded events land in your own S3 at $0.023/GB-month, and the Retriever returns the exact offloaded events on demand.
Built with Elastic tools alone, holding the hot tier at a size takes an ingest pipeline on every log (gsub regexes, a fingerprint processor, a script) for statement identity, run on the ingest nodes or, without dedicated ones, the hot nodes; an enrich lookup against a demoted list, re-executed after every change; a reroute processor to an overflow stream; two ILM policies with an hourly rollover and a searchable snapshot action into the frozen tier, which needs an Enterprise licence; a continuous transform for bytes per statement per hour, since a pipeline sees one document at a time and no processor counts across documents; a Watcher or Kibana rule that ranks statements and rewrites the list; and the hot tier's maximum size pinned in autoscaling, which stops the next resize and leaves the bill where it is until someone sizes the tier down. Every route into frozen lands on hot or warm first.
The Receiver counts each statement's bytes per window on the forwarder (the UTF-8 size of the whole record the forwarder sends, not only the message), using statement identity compiled from the code, and routes a statement over its limit in the window it goes over, before the cluster sees the line, so the Receiver takes the place of the pipeline, the transform, the list and the ranking; the tier-down index and its ILM policy stay. An hourly run from log10x-mcp reads the hot nodes' store and rewrites each statement's byte limit so the tier settles at a size the account sets. With the tier-down index placed on the warm tier, a single 2.5x step in load held for an hour kept hot at 0.94 to 1.04 of the size at every reading from 20 minutes after the step to the end of the hold, inside the registered bound of 1.10. A native reroute of the top service by bytes rose to 1.25 times the size under the same step and was still rising; with the tier-down index on hot, the same step reached 1.43 (two-arm runs).
With the tier-down index on hot, under steady load on self-managed Elasticsearch the hot store sat at 0.97 to 0.98 of the size (benchmarks/elastic-hot-tier-budget), and that run and a second went over the registered bound of 1.10 as load rose 2.5 times: in four 20-minute steps within an hour, one peaked at 1.23, with 30 of 72 readings over; in four hourly steps over three hours, the other peaked at 1.17, with 6 of 36 readings over, and averaged 0.998 over six hours. A rewritten limit applies to the lines that arrive after it.
Comparisons lists each piece with Elastic's doc behind it.
How does volume reduction translate to fewer data nodes
On a self-managed cluster whose data node count is driven by storage capacity, fewer indexed bytes means fewer data nodes, and each decommissioned node retires both its EC2 instance and its EBS volume. Compact shrinks in place on self-hosted Elasticsearch 8.17.0 and OpenSearch 2.19.0, where it removed 51.7% of the raw index's bytes on disk in the measurement above.
Offloaded events land in your own S3 at $0.023/GB-month, and the Retriever returns the exact offloaded events on demand and re-ingests into the cluster only what it is asked to fetch back. Master nodes, coordinating nodes, and Kibana instances stay the same regardless of data volume.
Enter a monthly bill and node count on the homepage for a figure on your own cluster.
How does the 10x Engine handle fields whose values change per event and cause mapping explosions
A mapping explosion comes from too many distinct fields in an index; the 10x Engine passes each document's fields through as they arrive and, with a cap set, holds the volume behind a noisy shape to it. The name it gives each event, from the statement that most likely wrote it, is what makes that volume visible.
Each event is matched to its pattern name, the symbols of the scope most likely to have written it, such as Error_syncing_pod or Receive_ListRecommendations_for_product_ids. Tracking runs on that pattern, and the raw field values pass through with the event.
Once cost is tracked per pattern, budget-based sampling can target the noisiest patterns before they reach Elasticsearch. Sampling keeps a share of the targeted patterns' lines and drops the rest, cutting ingestion volume and the count of distinct field values your mappings handle.
What is the search-time overhead in Elasticsearch
The L1ES Lucene plugin expands compact events during the fetch phase, so search returns the full original events, and the cost scales with the number of documents a query returns rather than with index size. The published benchmarks cover stored bytes and hot-tier size. For managed Elasticsearch (Elastic Cloud, OpenSearch Service), Retriever returns the exact offloaded events on demand.
For resource requirements and Kubernetes resource specs, see Node counting.
One-day test
How to test it on one Elasticsearch deployment in a day
Steps 1 and 2 read the cluster and leave the forwarders as they are. Every hot-tier and frozen count in the test comes from the cluster's own APIs.
- Census, with nothing installed in the cluster or the forwarders. Run the cost POC with
siem: elasticsearchand the logs index pattern asscope. The connector readsELASTIC_URLwithELASTIC_API_KEY, orELASTIC_USERNAMEandELASTIC_PASSWORD. The local engine runs the analysis, so the pulled events stay on the machine. Thetopview names the statements that fill the hot tier. -
Baseline the hot tier. Read the hot nodes' index store and disk hourly through the day:
GET _nodes/stats/fs,indices?filter_path=nodes.*.name,nodes.*.roles,nodes.*.fs.total.total_in_bytes,nodes.*.indices.store.size_in_bytesSum
indices.store.size_in_bytesover the nodes whose roles includedata_hot. That sum is the hot tier's size. -
Receiver in read-only mode beside the forwarder (
receiverReadOnly): events pass through untouched and the Receiver publishes per-statement metrics to the account's own metrics backend. Top patterns ranks them. Pick one chatty service. - One service to the frozen tier. Apply the frozen-tier recipe the Retriever advisor renders (an ILM policy and template for
tenx-tierdown, the kept alias and its policy, both bootstrap indices, and a Kibana data view overtenx-app-*,tenx-tierdown-*for searches that read kept and moved lines together), routerouteState == "tier_down"to thetenx-tierdownalias at the forwarder, give that service a limit with actiontier_down, and switch the Receiver to read-write. - Read the three numbers after an hour. The hot store from step 2; the tier_down indices once mounted (
GET _cat/indices/partial-tenx-tierdown-*?h=index,docs.count,store.sizeshows 0 bytes of local store); and one moved statement found by its hash on the mounted indices against the Receiver's own count (POST partial-tenx-tierdown-*/_countwith atermquery ontenx_hash). In the published hot-tier run the two counts were equal. With ILM's default ten-minute poll a moved line mounts on frozen 30 to 110 minutes after it arrives, waiting on warm, not hot. - Restart it. Stop the Receiver for twenty seconds mid-feed and count lines in and lines back. The forwarder's buffer settings decide what the forwarder holds while the Receiver is stopped, so the count measured here is the one that applies to this deployment.
The day shows which statements fill hot, one service moved to the frozen tier and still found by its hash, how long moved lines wait before they mount on frozen, and what the forwarder holds across a Receiver restart. Elastic Cloud Hosted bills the configured size, so the saving reaches the invoice once the hot tier is sized down after the test.
Routing Key
What does 10x add to Elastic's own tiering
Where the levers are tier down and offload, as on Elastic Cloud Hosted, Elastic's frozen tier or your own S3 stores the cheaper slice, and today a person writes the rules that choose it: which data stream a line lands in, and the ILM policy that moves that stream's indices to the frozen data tier. 10x keeps those rules current per pattern: the rules key on the pattern, which is the same on every pod running the same engine, library and configuration from its first line, whatever lines that pod has seen and whenever it started. A template miner at the edge, such as Drain3, names a line by what it has seen: two Drain3 instances that each see half of one stream give a line seen 2 to 10 times different names 39.78% of the time (pattern-identity benchmark).
The compiler runs in CI or on a schedule, so new log statements, including ones a coding agent wrote, are named as the code ships; a scheduled check (tenx-recur) computes each pattern's cost, routing changes arrive as pull requests to the policy repo, and caps act on their own.