Skip to content

Conversation

@romseygeek
Copy link
Contributor

@romseygeek romseygeek commented Sep 5, 2025

TSBD and LogsDB indexes with this setting set to true do not use backing indexes
for host.name, _tsid or @timestamp fields, and instead enable sparse indexes
on their doc_values fields.

This was originally added and set to true a while back, but was then changed to
false when performance suffered. Changes to lucene, and the addition of filter-by-filter
optimizations on skipper queries, means that performance looks more acceptable now.

This is still gated behind a feature flag so that we can measure the behaviour in nightly
benchmarks before enabling for public use.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@elasticsearchmachine
Copy link
Collaborator

Hi @romseygeek, I've created a changelog YAML for you.

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Alan, LGTM!

I think doc value skippers will now also be enabled for _tsid field? (in snapshot versions) (If I understand TimeSeriesIdFieldMapper#getInstance(...) correctly)

@@ -0,0 +1,5 @@
pr: 134221
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's label this as a non-issue? Because released versions will not run with doc value skippers enabled And when the feature flag gets removed then we label it as a feature or enhancement.

@romseygeek
Copy link
Contributor Author

I think doc value skippers will now also be enabled for _tsid field? (in snapshot versions) (If I understand TimeSeriesIdFieldMapper#getInstance(...) correctly)

Yes, that looks right. It doesn't remove the backing index for this field though, it only enables the skipper.

@martijnvg
Copy link
Member

Yes, that looks right. It doesn't remove the backing index for this field though, it only enables the skipper.

Yes, the _tsid meta field was never configured with an inverted index.

assertThat(dataProfiles, hasSize(1));
List<OperatorStatus> ops = dataProfiles.get(0).operators();
assertThat(ops, hasSize(5));
assertThat(ops, hasSize(6));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change adds an extra ValuesSourceReaderOperator step into this ESQL query - does that sound right to you @martijnvg ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know for what field(s) both value source reader operations are?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new one is for @timestamp:
{"operator":"ValuesSourceReaderOperator[fields = [@timestamp]]","status":{"readers_built":{"@timestamp:column_at_a_time:BlockDocValuesReader.SingletonLongs":3},"values_loaded":98,"process_nanos":887208,"pages_received":3,"pages_emitted":3,"rows_received":98,"rows_emitted":98}}

The other is for _tsid, cpu and cluster and is unchanged from before:
{"operator":"ValuesSourceReaderOperator[fields = [_tsid, cpu, cluster]]","status":{"readers_built":{"_tsid:column_at_a_time:BlockDocValuesReader.SingletonOrdinals":3,"cluster:column_at_a_time:BlockDocValuesReader.SingletonOrdinals":3,"cpu:column_at_a_time:BlockDocValuesReader.SingletonDoubles":3},"values_loaded":294,"process_nanos":1226959,"pages_received":3,"pages_emitted":3,"rows_received":98,"rows_emitted":98}}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check whether the LuceneSourceOperator pushes down the buckets as filters? For example do see IndexOrDocValuesQuery(indexQuery=@timestamp:[1713139320000 TO 1713139379999], dvQuery=@timestamp:[1713139320000 TO 1713139379999]) in processedQueries of the status of LuceneSourceOperator?

Maybe this change results in compute engine no longer pushing down filters?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change, the field caps api for @timestamp field will no longer return that it is indexed and that is why I think the query plan is different, with this as a result.

I don't think this blocks merging this pr. Maybe we need to think about marking a field as indexed if it has doc value skippers and is part of index sorting before we release the feature flag?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked LuceneSourceOperator with this change and there aren't any IndexOrDocValuesQuery instances in processed query.

So I think this is good. Let's merge it when CI is green.

@romseygeek
Copy link
Contributor Author

Buildkite benchmark this with tsdb please

@romseygeek
Copy link
Contributor Author

Trying a benchmark again after I've merged in main...

@romseygeek
Copy link
Contributor Author

Buildkite benchmark this with elastic-logs-logsdb please

@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 14, 2025

💚 Build Succeeded

This build ran two elastic-logs-logsdb benchmarks to evaluate performance impact of this PR.

History

cc @romseygeek

@romseygeek
Copy link
Contributor Author

TSDB benchmark comparison:

tsdb-compare-20251016.txt

12% reduction in index size, and between 10-50% penalty on query performance. The odd one is the throughput on date-histo-entire-range dropped massively, even though the latency only increased by under 15%.

12% is a nice reduction but I do wonder if we would actually get better bang for our buck by looking at other fields. The event.duration field has a points index that takes up a similar amount of disk space to @timestamp and I'm sure is much less heavily used in range queries.

@martijnvg
Copy link
Member

The event.duration field has a points index that takes up a similar amount of disk space to @timestamp and I'm sure is much less heavily used in range queries.

We chatted about this field before and looks like this field should no have a points index to begin with for the reason you mentioned. In order to achieve this, our builtin stack templates should map this with index set to false and than integration templates should no longer configure the field. We need to open an issue for this.

@martijnvg
Copy link
Member

I also wonder how much here is noise. If I look at esql-fetch-500 this is just a simple FROM with a LIMIT. This shouldn't be affected this much, but yet has 15% to 20% higher latencies.

@felixbarny
Copy link
Member

Some things I'd like to note:

  • The ingestion throughput seems to be 15% lower with doc_value skippers. That doesn't seem to make sense as not having to writing points should improve the ingestion performance. Maybe a lot of noise?
  • I think the way Rally ingests the data is suboptimal for doc value skippers. Ideally, values should be ingested in timestamp order so that there are few segments with overlapping time ranges. While the way the corpus is split so that each worker gets partial data from the full time range, we've also seen evidence of some workers falling behind: Flame graphs have shown significant impact on bloom filter checking, which can be avoided if a data point can skip most segments that don't have an overlapping time range. I think the same affect that slows doing indexing would also slow down querying.
  • We should also compare the impact for the metricsgen receiver track. These contain OTel host metrics which don't have event.duration fields or other weird stuff.
  • In the OTel benchmarks, the points @timestamp make up around 3-4B per sample, which is more than we want to end up per sample in total. So there's not really a way around removing the points for the timestamp. The relative improvement for this will also go up as we remove other heavy hitters, like _id and _seq_no. Removing points for the timestamp will probably have some impact on query performance but we know that it's possible to achieve good query performance without a full-blown index on the timestamp.

@felixbarny
Copy link
Member

felixbarny commented Oct 21, 2025

I ran the TSDB metricsgen track and got encouraging results. The highlights are:

  • Store size reduced by 17.19%
  • @timestamp total size reduced by 89%
  • Ingest throughput within margins of error
  • Most queries within margins of error with the exception of a few (avg_rate_cpu_by_host_1m, avg_avgot_cpu_load_1m_prefix_by_hosts_5m) being 10-20% slower

Some more details on the benchmark:

  • Removed IS NOT NULL clauses as these should happen implicitly now
  • Filtered to the last 2h of the dataset (out of 4.5h)
  • Added 1m bucket variants of the 1h bucket queries
  • Changed force merge step to merge to a single segment after the queries are run (to get consistent storage results)
  • Used the 8clientsort dataset to avoid ingestion happening in random order
Click to expand full rally compare...
|                                                                                                                    Metric |                                       Task |        Baseline |       Contender |            Diff |   Unit |   Diff % |
|--------------------------------------------------------------------------------------------------------------------------:|-------------------------------------------:|----------------:|----------------:|----------------:|-------:|---------:|
|                                                                                Cumulative indexing time of primary shards |                                            |   358.963       |   358.039       |    -0.92455     |    min |   -0.26% |
|                                                                         Min cumulative indexing time across primary shard |                                            |   117.642       |   117.259       |    -0.3824      |    min |   -0.33% |
|                                                                      Median cumulative indexing time across primary shard |                                            |   119.696       |   119.452       |    -0.2441      |    min |   -0.20% |
|                                                                         Max cumulative indexing time across primary shard |                                            |   121.625       |   121.327       |    -0.29805     |    min |   -0.25% |
|                                                                       Cumulative indexing throttle time of primary shards |                                            |     0           |     0           |     0           |    min |    0.00% |
|                                                                Min cumulative indexing throttle time across primary shard |                                            |     0           |     0           |     0           |    min |    0.00% |
|                                                             Median cumulative indexing throttle time across primary shard |                                            |     0           |     0           |     0           |    min |    0.00% |
|                                                                Max cumulative indexing throttle time across primary shard |                                            |     0           |     0           |     0           |    min |    0.00% |
|                                                                                   Cumulative merge time of primary shards |                                            |    97.6636      |    93.7139      |    -3.94973     |    min |   -4.04% |
|                                                                                  Cumulative merge count of primary shards |                                            |    96           |    95           |    -1           |        |   -1.04% |
|                                                                            Min cumulative merge time across primary shard |                                            |    30.1288      |    26.8826      |    -3.24622     |    min |  -10.77% |
|                                                                         Median cumulative merge time across primary shard |                                            |    30.7455      |    31.0336      |     0.28812     |    min |   +0.94% |
|                                                                            Max cumulative merge time across primary shard |                                            |    36.7893      |    35.7977      |    -0.99163     |    min |   -2.70% |
|                                                                          Cumulative merge throttle time of primary shards |                                            |    10.8804      |     8.48213     |    -2.39827     |    min |  -22.04% |
|                                                                   Min cumulative merge throttle time across primary shard |                                            |     2.85097     |     2.40382     |    -0.44715     |    min |  -15.68% |
|                                                                Median cumulative merge throttle time across primary shard |                                            |     3.43583     |     2.43405     |    -1.00178     |    min |  -29.16% |
|                                                                   Max cumulative merge throttle time across primary shard |                                            |     4.5936      |     3.64427     |    -0.94933     |    min |  -20.67% |
|                                                                                 Cumulative refresh time of primary shards |                                            |     2.91748     |     2.98948     |     0.072       |    min |   +2.47% |
|                                                                                Cumulative refresh count of primary shards |                                            |   286           |   289           |     3           |        |   +1.05% |
|                                                                          Min cumulative refresh time across primary shard |                                            |     0.932383    |     0.9064      |    -0.02598     |    min |   -2.79% |
|                                                                       Median cumulative refresh time across primary shard |                                            |     0.986433    |     0.988417    |     0.00198     |    min |   +0.20% |
|                                                                          Max cumulative refresh time across primary shard |                                            |     0.998667    |     1.09467     |     0.096       |    min |   +9.61% |
|                                                                                   Cumulative flush time of primary shards |                                            |    10.1828      |     9.56973     |    -0.61303     |    min |   -6.02% |
|                                                                                  Cumulative flush count of primary shards |                                            |   134           |   123           |   -11           |        |   -8.21% |
|                                                                            Min cumulative flush time across primary shard |                                            |     3.11763     |     2.80777     |    -0.30987     |    min |   -9.94% |
|                                                                         Median cumulative flush time across primary shard |                                            |     3.46517     |     3.25647     |    -0.2087      |    min |   -6.02% |
|                                                                            Max cumulative flush time across primary shard |                                            |     3.59997     |     3.5055      |    -0.09447     |    min |   -2.62% |
|                                                                                                   Total Young Gen GC time |                                            |   126.708       |   126.596       |    -0.112       |      s |   -0.09% |
|                                                                                                  Total Young Gen GC count |                                            |  4662           |  4655           |    -7           |        |   -0.15% |
|                                                                                                     Total Old Gen GC time |                                            |     0           |     0           |     0           |      s |    0.00% |
|                                                                                                    Total Old Gen GC count |                                            |     0           |     0           |     0           |        |    0.00% |
|                                                                                                              Dataset size |                                            |     4.34687     |     3.59986     |    -0.74701     |     GB |  -17.19% |
|                                                                                                                Store size |                                            |     4.34687     |     3.59986     |    -0.74701     |     GB |  -17.19% |
|                                                                                                             Translog size |                                            |     1.53668e-07 |     1.53668e-07 |     0           |     GB |    0.00% |
|                                                                                                    Heap used for segments |                                            |     0           |     0           |     0           |     MB |    0.00% |
|                                                                                                  Heap used for doc values |                                            |     0           |     0           |     0           |     MB |    0.00% |
|                                                                                                       Heap used for terms |                                            |     0           |     0           |     0           |     MB |    0.00% |
|                                                                                                       Heap used for norms |                                            |     0           |     0           |     0           |     MB |    0.00% |
|                                                                                                      Heap used for points |                                            |     0           |     0           |     0           |     MB |    0.00% |
|                                                                                               Heap used for stored fields |                                            |     0           |     0           |     0           |     MB |    0.00% |
|                                                                                                             Segment count |                                            |     3           |     3           |     0           |        |    0.00% |
|                                                                                               Total Ingest Pipeline count |                                            |     0           |     0           |     0           |        |    0.00% |
|                                                                                                Total Ingest Pipeline time |                                            |     0           |     0           |     0           |     ms |    0.00% |
|                                                                                              Total Ingest Pipeline failed |                                            |     0           |     0           |     0           |        |    0.00% |
|                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.status inverted index |                                            |   275.442       |   275.442       |     0           |     kB |    0.00% |
|                               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.status doc values |                                            |    72.1211      |    72.1211      |     0           |     kB |    0.00% |
|                                    .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.status total |                                            |   347.563       |   347.563       |     0           |     kB |    0.00% |
| .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.executable.name inverted index |                                            |   428.899       |   428.899       |     0           |     kB |    0.00% |
|     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.executable.name doc values |                                            |    67.6582      |    67.6582      |     0           |     kB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.executable.name total |                                            |   496.558       |   496.558       |     0           |     kB |    0.00% |
|         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.command inverted index |                                            |   428.905       |   428.905       |     0           |     kB |    0.00% |
|             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.command doc values |                                            |    67.6611      |    67.6611      |     0           |     kB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.command total |                                            |   496.566       |   496.566       |     0           |     kB |    0.00% |
| .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.executable.path inverted index |                                            |   428.905       |   428.905       |     0           |     kB |    0.00% |
|     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.executable.path doc values |                                            |    67.6611      |    67.6611      |     0           |     kB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.executable.path total |                                            |   496.566       |   496.566       |     0           |     kB |    0.00% |
|    .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.command_line inverted index |                                            |   429.028       |   429.028       |     0           |     kB |    0.00% |
|        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.command_line doc values |                                            |    67.7842      |    67.7842      |     0           |     kB |    0.00% |
|             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.command_line total |                                            |   496.812       |   496.812       |     0           |     kB |    0.00% |
|                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.logical.count doc values |                                            |   501.776       |   501.776       |     0           |     kB |    0.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.logical.count total |                                            |   501.776       |   501.776       |     0           |     kB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.pending_operations doc values |                                            |   503.887       |   503.887       |     0           |     kB |    0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.pending_operations total |                                            |   503.887       |   503.887       |     0           |     kB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.memory.virtual doc values |                                            |   507.407       |   507.407       |     0           |     kB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.memory.virtual total |                                            |   507.407       |   507.407       |     0           |     kB |    0.00% |
|                    .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.memory.usage doc values |                                            |   507.972       |   507.972       |     0           |     kB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.memory.usage total |                                            |   507.972       |   507.972       |     0           |     kB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.threads doc values |                                            |   509.581       |   509.581       |     0           |     kB |    0.00% |
|                              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.threads total |                                            |   509.581       |   509.581       |     0           |     kB |    0.00% |
|           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.open_file_descriptors doc values |                                            |   511.227       |   511.227       |     0           |     kB |    0.00% |
|                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.open_file_descriptors total |                                            |   511.227       |   511.227       |     0           |     kB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.protocol inverted index |                                            |   467.896       |   467.896       |     0           |     kB |    0.00% |
|                             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.protocol doc values |                                            |    61.3496      |    61.3496      |     0           |     kB |    0.00% |
|                                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.protocol total |                                            |   529.246       |   529.246       |     0           |     kB |    0.00% |
|                                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _tsid doc values |                                            |   226.73        |   639.023       |   412.293       |     kB | +181.84% |
|                                                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _tsid total |                                            |   226.73        |   639.023       |   412.293       |     kB | +181.84% |
|                             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.mode inverted index |                                            |   585.099       |   585.099       |     0           |     kB |    0.00% |
|                                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.mode doc values |                                            |    65.8936      |    65.8936      |     0           |     kB |    0.00% |
|                                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.mode total |                                            |   650.992       |   650.992       |     0           |     kB |    0.00% |
|                             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.type inverted index |                                            |   585.104       |   585.104       |     0           |     kB |    0.00% |
|                                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.type doc values |                                            |    65.8994      |    65.8994      |     0           |     kB |    0.00% |
|                                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.type total |                                            |   651.004       |   651.004       |     0           |     kB |    0.00% |
|                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.processes.created doc values |                                            |   702.492       |   702.492       |     0           |     kB |    0.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.processes.created total |                                            |   702.492       |   702.492       |     0           |     kB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.parent_pid doc values |                                            |   203.568       |   203.568       |     0           |     kB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.parent_pid points |                                            |   667.665       |   667.662       |    -0.00293     |     kB |   -0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.parent_pid total |                                            |   871.233       |   871.23        |    -0.00293     |     kB |   -0.00% |
|                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.pid doc values |                                            |   339.569       |   339.569       |     0           |     kB |    0.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.pid points |                                            |   667.665       |   667.662       |    -0.00293     |     kB |   -0.00% |
|                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.process.pid total |                                            |  1007.23        |  1007.23        |    -0.00293     |     kB |   -0.00% |
|                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.io doc values |                                            |     1.30337     |     1.30337     |     0           |     MB |    0.00% |
|                               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.io total |                                            |     1.30337     |     1.30337     |     0           |     MB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.operations doc values |                                            |     1.30896     |     1.30896     |     0           |     MB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.operations total |                                            |     1.30896     |     1.30896     |     0           |     MB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.disk.io doc values |                                            |     1.32152     |     1.32152     |     0           |     MB |    0.00% |
|                              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.disk.io total |                                            |     1.32152     |     1.32152     |     0           |     MB |    0.00% |
|                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.disk.operations doc values |                                            |     1.32185     |     1.32185     |     0           |     MB |    0.00% |
|                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.disk.operations total |                                            |     1.32185     |     1.32185     |     0           |     MB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.processes.count doc values |                                            |     1.32661     |     1.32661     |     0           |     MB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.processes.count total |                                            |     1.32661     |     1.32661     |     0           |     MB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.mountpoint inverted index |                                            |     1.17502     |     1.17502     |     0           |     MB |    0.00% |
|                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.mountpoint doc values |                                            |   328.198       |   328.198       |     0           |     kB |    0.00% |
|                                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.mountpoint total |                                            |     1.49552     |     1.49552     |     0           |     MB |    0.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.memory.usage doc values |                                            |     2.65692     |     2.65692     |     0           |     MB |    0.00% |
|                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.memory.usage total |                                            |     2.65692     |     2.65692     |     0           |     MB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.filesystem.inodes.usage doc values |                                            |     2.66647     |     2.66647     |     0           |     MB |    0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.filesystem.inodes.usage total |                                            |     2.66647     |     2.66647     |     0           |     MB |    0.00% |
|                             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 data_stream.dataset doc values |                                            |     3.08995     |     3.08995     |     0           |     MB |    0.00% |
|                                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 data_stream.dataset total |                                            |     3.08995     |     3.08995     |     0           |     MB |    0.00% |
|                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 data_stream.namespace doc values |                                            |     3.08995     |     3.08995     |     0           |     MB |    0.00% |
|                                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 data_stream.namespace total |                                            |     3.08995     |     3.08995     |     0           |     MB |    0.00% |
|                                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 data_stream.type doc values |                                            |     3.08995     |     3.08995     |     0           |     MB |    0.00% |
|                                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 data_stream.type total |                                            |     3.08995     |     3.08995     |     0           |     MB |    0.00% |
|                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.direction inverted index |                                            |     3.06041     |     3.06041     |     0           |     MB |    0.00% |
|                            .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.direction doc values |                                            |   719.438       |   719.438       |     0           |     kB |    0.00% |
|                                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.direction total |                                            |     3.76299     |     3.76299     |     0           |     MB |    0.00% |
|                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.filesystem.usage doc values |                                            |     3.96893     |     3.96893     |     0           |     MB |    0.00% |
|                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.filesystem.usage total |                                            |     3.96893     |     3.96893     |     0           |     MB |    0.00% |
|                              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.cpu inverted index |                                            |     3.68929     |     3.68929     |     0           |     MB |    0.00% |
|                                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.cpu doc values |                                            |   696.259       |   696.259       |     0           |     kB |    0.00% |
|                                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.cpu total |                                            |     4.36923     |     4.36923     |     0           |     MB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.io doc values |                                            |     5.07874     |     5.07874     |     0           |     MB |    0.00% |
|                            .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.io total |                                            |     5.07874     |     5.07874     |     0           |     MB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.dropped doc values |                                            |     5.09654     |     5.09654     |     0           |     MB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.dropped total |                                            |     5.09654     |     5.09654     |     0           |     MB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.packets doc values |                                            |     5.09686     |     5.09686     |     0           |     MB |    0.00% |
|                       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.packets total |                                            |     5.09686     |     5.09686     |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.errors doc values |                                            |     5.09724     |     5.09724     |     0           |     MB |    0.00% |
|                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.errors total |                                            |     5.09724     |     5.09724     |     0           |     MB |    0.00% |
|                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.device inverted index |                                            |     4.26861     |     4.26861     |     0           |     MB |    0.00% |
|                               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.device doc values |                                            |   935.647       |   935.647       |     0           |     kB |    0.00% |
|                                    .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.device total |                                            |     5.18233     |     5.18233     |     0           |     MB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.connections doc values |                                            |     5.26719     |     5.26719     |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.network.connections total |                                            |     5.26719     |     5.26719     |     0           |     MB |    0.00% |
|                                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _ts_routing_hash doc values |                                            |     5.35067     |     5.35067     |     0           |     MB |    0.00% |
|                                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _ts_routing_hash total |                                            |     5.35067     |     5.35067     |     0           |     MB |    0.00% |
|      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.cache.l2.size doc values |                                            |     1.54495     |     1.54495     |     0           |     MB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.cache.l2.size points |                                            |     7.5746      |     7.57459     |    -0           |     MB |   -0.00% |
|           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.cache.l2.size total |                                            |     9.11955     |     9.11955     |    -0           |     MB |   -0.00% |
|         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.family inverted index |                                            |     9.56176     |     9.56176     |     0           |     MB |    0.00% |
|             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.family doc values |                                            |     3           |     3           |     0           |  bytes |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.family total |                                            |     9.56177     |     9.56177     |     0           |     MB |    0.00% |
|     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.model.name inverted index |                                            |     9.56176     |     9.56176     |     0           |     MB |    0.00% |
|         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.model.name doc values |                                            |     3           |     3           |     0           |  bytes |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.model.name total |                                            |     9.56177     |     9.56177     |     0           |     MB |    0.00% |
|       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.stepping inverted index |                                            |     9.56177     |     9.56177     |     0           |     MB |    0.00% |
|           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.stepping doc values |                                            |     6           |     6           |     0           |  bytes |    0.00% |
|                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.stepping total |                                            |     9.56177     |     9.56177     |     0           |     MB |    0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.arch inverted index |                                            |     9.56178     |     9.56178     |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.arch doc values |                                            |    18           |    18           |     0           |  bytes |    0.00% |
|                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.arch total |                                            |     9.5618      |     9.5618      |     0           |     MB |    0.00% |
|       .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.model.id inverted index |                                            |     9.56178     |     9.56178     |     0           |     MB |    0.00% |
|           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.model.id doc values |                                            |    18           |    18           |     0           |  bytes |    0.00% |
|                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.model.id total |                                            |     9.5618      |     9.5618      |     0           |     MB |    0.00% |
|      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.vendor.id inverted index |                                            |     9.56178     |     9.56178     |     0           |     MB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.vendor.id doc values |                                            |    18           |    18           |     0           |  bytes |    0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.cpu.vendor.id total |                                            |     9.5618      |     9.5618      |     0           |     MB |    0.00% |
|                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.os.type inverted index |                                            |     9.56178     |     9.56178     |     0           |     MB |    0.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.os.type doc values |                                            |    18           |    18           |     0           |  bytes |    0.00% |
|                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.os.type total |                                            |     9.5618      |     9.5618      |     0           |     MB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.schema_url inverted index |                                            |     9.56188     |     9.56188     |     0           |     MB |    0.00% |
|                             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.schema_url doc values |                                            |   117           |   117           |     0           |  bytes |    0.00% |
|                                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.schema_url total |                                            |     9.56199     |     9.56199     |     0           |     MB |    0.00% |
|          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.os.description inverted index |                                            |     9.56203     |     9.56203     |     0           |     MB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.os.description doc values |                                            |   273           |   273           |     0           |  bytes |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.os.description total |                                            |     9.56229     |     9.56229     |     0           |     MB |    0.00% |
|                            .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.state inverted index |                                            |     8.13526     |     8.13526     |     0           |     MB |    0.00% |
|                                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.state doc values |                                            |     1.82151     |     1.82151     |     0           |     MB |    0.00% |
|                                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 attributes.state total |                                            |     9.95676     |     9.95676     |     0           |     MB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.load_average.5m doc values |                                            |    11.0148      |    11.0148      |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.load_average.5m total |                                            |    11.0148      |    11.0148      |     0           |     MB |    0.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.io_time doc values |                                            |    11.0173      |    11.0173      |     0           |     MB |    0.00% |
|                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.io_time total |                                            |    11.0173      |    11.0173      |     0           |     MB |    0.00% |
|             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.load_average.15m doc values |                                            |    11.0179      |    11.0179      |     0           |     MB |    0.00% |
|                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.load_average.15m total |                                            |    11.0179      |    11.0179      |     0           |     MB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.load_average.1m doc values |                                            |    11.0197      |    11.0197      |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.load_average.1m total |                                            |    11.0197      |    11.0197      |     0           |     MB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.memory.utilization doc values |                                            |    11.2137      |    11.2137      |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.memory.utilization total |                                            |    11.2137      |    11.2137      |     0           |     MB |    0.00% |
|                               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 scope.version inverted index |                                            |     9.94257     |     9.94257     |     0           |     MB |    0.00% |
|                                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 scope.version doc values |                                            |     1.81071     |     1.81071     |     0           |     MB |    0.00% |
|                                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 scope.version total |                                            |    11.7533      |    11.7533      |     0           |     MB |    0.00% |
|                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _metric_names_hash inverted index |                                            |    12.5303      |    12.5303      |     0           |     MB |    0.00% |
|                              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _metric_names_hash doc values |                                            |   751.071       |   751.071       |     0           |     kB |    0.00% |
|                                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _metric_names_hash total |                                            |    13.2638      |    13.2638      |     0           |     MB |    0.00% |
|                                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 scope.name inverted index |                                            |    11.9435      |    11.9435      |     0           |     MB |    0.00% |
|                                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 scope.name doc values |                                            |     1.8737      |     1.8737      |     0           |     MB |    0.00% |
|                                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 scope.name total |                                            |    13.8172      |    13.8172      |     0           |     MB |    0.00% |
|                                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 unit inverted index |                                            |    12.5448      |    12.5448      |     0           |     MB |    0.00% |
|                                            .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 unit doc values |                                            |     1.96721     |     1.96721     |     0           |     MB |    0.00% |
|                                                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 unit total |                                            |    14.512       |    14.512       |     0           |     MB |    0.00% |
|                                 .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 start_timestamp doc values |                                            |    10.8147      |    10.8147      |     0           |     MB |    0.00% |
|                                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 start_timestamp points |                                            |     7.5746      |     7.57459     |    -1e-05       |     MB |   -0.00% |
|                                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 start_timestamp total |                                            |    18.3893      |    18.3893      |    -1e-05       |     MB |   -0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.name inverted index |                                            |    14.9452      |    14.9452      |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.name doc values |                                            |     4.44692     |     4.44692     |     0           |     MB |    0.00% |
|                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.name total |                                            |    19.3921      |    19.3921      |     0           |     MB |    0.00% |
|              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.operation_time doc values |                                            |    21.9816      |    21.9816      |     0           |     MB |    0.00% |
|                   .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.disk.operation_time total |                                            |    21.9816      |    21.9816      |     0           |     MB |    0.00% |
|                        .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.cpu.time doc values |                                            |    32.9526      |    32.9526      |     0           |     MB |    0.00% |
|                             .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.process.cpu.time total |                                            |    32.9526      |    32.9526      |     0           |     MB |    0.00% |
|               .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.memory.utilization doc values |                                            |    65.8417      |    65.8417      |     0           |     MB |    0.00% |
|                    .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.memory.utilization total |                                            |    65.8417      |    65.8417      |     0           |     MB |    0.00% |
|                .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.mac inverted index |                                            |    90.0749      |    90.0749      |     0           |     MB |    0.00% |
|                    .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.mac doc values |                                            |   128.782       |   128.782       |     0           |     MB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.mac total |                                            |   218.857       |   218.857       |     0           |     MB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.time doc values |                                            |   438.675       |   438.675       |     0           |     MB |    0.00% |
|                              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 metrics.system.cpu.time total |                                            |   438.675       |   438.675       |     0           |     MB |    0.00% |
|                                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _seq_no doc values |                                            |   560.002       |   567.062       |     7.05973     |     MB |   +1.26% |
|                                              .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _seq_no total |                                            |   560.002       |   567.062       |     7.05973     |     MB |   +1.26% |
|                                      .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 @timestamp doc values |                                            |    93.8122      |    95.405       |     1.5928      |     MB |   +1.70% |
|                                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 @timestamp points |                                            |     8.11051e+08 |     0           |    -8.11051e+08 |  bytes | -100.00% |
|                                           .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 @timestamp total |                                            |   867.291       |    95.405       |  -771.886       |     MB |  -89.00% |
|                     .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.ip doc values |                                            |   496.802       |   496.802       |     0           |     MB |    0.00% |
|                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.ip points |                                            |   405.597       |   405.597       |    -0           |     MB |   -0.00% |
|                          .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 resource.attributes.host.ip total |                                            |   902.399       |   902.399       |    -0           |     MB |   -0.00% |
|                                         .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _id inverted index |                                            |   919.122       |   919.122       |     0           |     MB |    0.00% |
|                                                  .ds-metrics-hostmetricsreceiver.otel-default-2025.10.20-000001 _id total |                                            |   919.122       |   919.122       |     0           |     MB |    0.00% |
|                                                                                                            Min Throughput |                                      index | 62964.9         | 63390.4         |   425.539       | docs/s |   +0.68% |
|                                                                                                           Mean Throughput |                                      index | 64873.2         | 64360.8         |  -512.441       | docs/s |   -0.79% |
|                                                                                                         Median Throughput |                                      index | 64776.3         | 64271           |  -505.296       | docs/s |   -0.78% |
|                                                                                                            Max Throughput |                                      index | 67200.5         | 67040.8         |  -159.688       | docs/s |   -0.24% |
|                                                                                                   50th percentile latency |                                      index |   453.591       |   454.249       |     0.6577      |     ms |   +0.14% |
|                                                                                                   90th percentile latency |                                      index |   650.212       |   643.151       |    -7.06132     |     ms |   -1.09% |
|                                                                                                   99th percentile latency |                                      index |  5761.49        |  5790.7         |    29.2067      |     ms |   +0.51% |
|                                                                                                 99.9th percentile latency |                                      index |  8636.07        |  8588.34        |   -47.7291      |     ms |   -0.55% |
|                                                                                                99.99th percentile latency |                                      index | 11021.4         | 10351.4         |  -669.925       |     ms |   -6.08% |
|                                                                                                  100th percentile latency |                                      index | 17348.2         | 12319.4         | -5028.81        |     ms |  -28.99% |
|                                                                                              50th percentile service time |                                      index |   452.715       |   454.562       |     1.84707     |     ms |   +0.41% |
|                                                                                              90th percentile service time |                                      index |   652.131       |   643.627       |    -8.50411     |     ms |   -1.30% |
|                                                                                              99th percentile service time |                                      index |  5776.37        |  5773           |    -3.36695     |     ms |   -0.06% |
|                                                                                            99.9th percentile service time |                                      index |  8627.35        |  8572.87        |   -54.4852      |     ms |   -0.63% |
|                                                                                           99.99th percentile service time |                                      index | 11021.4         | 10351.4         |  -669.925       |     ms |   -6.08% |
|                                                                                             100th percentile service time |                                      index | 17348.2         | 12319.4         | -5028.81        |     ms |  -28.99% |
|                                                                                                                error rate |                                      index |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |                avg_avgot_memory_by_host_1h |    17.1435      |    14.4142      |    -2.72925     |  ops/s |  -15.92% |
|                                                                                                           Mean Throughput |                avg_avgot_memory_by_host_1h |    21.4086      |    20.5744      |    -0.83419     |  ops/s |   -3.90% |
|                                                                                                         Median Throughput |                avg_avgot_memory_by_host_1h |    21.904       |    21.2766      |    -0.62743     |  ops/s |   -2.86% |
|                                                                                                            Max Throughput |                avg_avgot_memory_by_host_1h |    22.7955      |    22.5502      |    -0.24532     |  ops/s |   -1.08% |
|                                                                                                   50th percentile latency |                avg_avgot_memory_by_host_1h |    41.0589      |    40.6439      |    -0.41496     |     ms |   -1.01% |
|                                                                                                   90th percentile latency |                avg_avgot_memory_by_host_1h |    43.612       |    43.273       |    -0.33899     |     ms |   -0.78% |
|                                                                                                   99th percentile latency |                avg_avgot_memory_by_host_1h |    49.2595      |    51.0823      |     1.82277     |     ms |   +3.70% |
|                                                                                                 99.9th percentile latency |                avg_avgot_memory_by_host_1h |    70.7956      |    71.3754      |     0.57988     |     ms |   +0.82% |
|                                                                                                  100th percentile latency |                avg_avgot_memory_by_host_1h |    72.4544      |    73.1038      |     0.64931     |     ms |   +0.90% |
|                                                                                              50th percentile service time |                avg_avgot_memory_by_host_1h |    41.0565      |    40.6438      |    -0.41266     |     ms |   -1.01% |
|                                                                                              90th percentile service time |                avg_avgot_memory_by_host_1h |    43.6107      |    43.2784      |    -0.33232     |     ms |   -0.76% |
|                                                                                              99th percentile service time |                avg_avgot_memory_by_host_1h |    49.1976      |    51.1011      |     1.90354     |     ms |   +3.87% |
|                                                                                            99.9th percentile service time |                avg_avgot_memory_by_host_1h |    70.7956      |    71.3754      |     0.57988     |     ms |   +0.82% |
|                                                                                             100th percentile service time |                avg_avgot_memory_by_host_1h |    72.4544      |    73.1038      |     0.64931     |     ms |   +0.90% |
|                                                                                                                error rate |                avg_avgot_memory_by_host_1h |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |                    avg_rate_cpu_by_host_1h |     1.94253     |     1.80539     |    -0.13714     |  ops/s |   -7.06% |
|                                                                                                           Mean Throughput |                    avg_rate_cpu_by_host_1h |     2.03033     |     1.94372     |    -0.0866      |  ops/s |   -4.27% |
|                                                                                                         Median Throughput |                    avg_rate_cpu_by_host_1h |     2.04016     |     1.96361     |    -0.07655     |  ops/s |   -3.75% |
|                                                                                                            Max Throughput |                    avg_rate_cpu_by_host_1h |     2.05267     |     1.99404     |    -0.05864     |  ops/s |   -2.86% |
|                                                                                                   50th percentile latency |                    avg_rate_cpu_by_host_1h |   482.434       |   492.284       |     9.84959     |     ms |   +2.04% |
|                                                                                                   90th percentile latency |                    avg_rate_cpu_by_host_1h |   519.843       |   529.443       |     9.59959     |     ms |   +1.85% |
|                                                                                                   99th percentile latency |                    avg_rate_cpu_by_host_1h |   550.692       |   588.275       |    37.5831      |     ms |   +6.82% |
|                                                                                                  100th percentile latency |                    avg_rate_cpu_by_host_1h |   582.373       |   645.359       |    62.9861      |     ms |  +10.82% |
|                                                                                              50th percentile service time |                    avg_rate_cpu_by_host_1h |   482.434       |   492.284       |     9.84959     |     ms |   +2.04% |
|                                                                                              90th percentile service time |                    avg_rate_cpu_by_host_1h |   519.843       |   529.443       |     9.59959     |     ms |   +1.85% |
|                                                                                              99th percentile service time |                    avg_rate_cpu_by_host_1h |   550.692       |   588.275       |    37.5831      |     ms |   +6.82% |
|                                                                                             100th percentile service time |                    avg_rate_cpu_by_host_1h |   582.373       |   645.359       |    62.9861      |     ms |  +10.82% |
|                                                                                                                error rate |                    avg_rate_cpu_by_host_1h |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |                avg_avgot_memory_by_host_1m |     7.70083     |     7.38399     |    -0.31684     |  ops/s |   -4.11% |
|                                                                                                           Mean Throughput |                avg_avgot_memory_by_host_1m |     7.88267     |     7.50286     |    -0.37981     |  ops/s |   -4.82% |
|                                                                                                         Median Throughput |                avg_avgot_memory_by_host_1m |     7.91156     |     7.52054     |    -0.39101     |  ops/s |   -4.94% |
|                                                                                                            Max Throughput |                avg_avgot_memory_by_host_1m |     7.93298     |     7.55186     |    -0.38111     |  ops/s |   -4.80% |
|                                                                                                   50th percentile latency |                avg_avgot_memory_by_host_1m |   124.424       |   131.015       |     6.59029     |     ms |   +5.30% |
|                                                                                                   90th percentile latency |                avg_avgot_memory_by_host_1m |   127.881       |   135.454       |     7.57311     |     ms |   +5.92% |
|                                                                                                   99th percentile latency |                avg_avgot_memory_by_host_1m |   131.83        |   141.104       |     9.27398     |     ms |   +7.03% |
|                                                                                                 99.9th percentile latency |                avg_avgot_memory_by_host_1m |   152.125       |   157.929       |     5.80395     |     ms |   +3.82% |
|                                                                                                  100th percentile latency |                avg_avgot_memory_by_host_1m |   153.665       |   162.581       |     8.91643     |     ms |   +5.80% |
|                                                                                              50th percentile service time |                avg_avgot_memory_by_host_1m |   124.424       |   131.015       |     6.59029     |     ms |   +5.30% |
|                                                                                              90th percentile service time |                avg_avgot_memory_by_host_1m |   127.881       |   135.454       |     7.57311     |     ms |   +5.92% |
|                                                                                              99th percentile service time |                avg_avgot_memory_by_host_1m |   131.83        |   141.104       |     9.27398     |     ms |   +7.03% |
|                                                                                            99.9th percentile service time |                avg_avgot_memory_by_host_1m |   152.125       |   157.929       |     5.80395     |     ms |   +3.82% |
|                                                                                             100th percentile service time |                avg_avgot_memory_by_host_1m |   153.665       |   162.581       |     8.91643     |     ms |   +5.80% |
|                                                                                                                error rate |                avg_avgot_memory_by_host_1m |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |                    avg_rate_cpu_by_host_1m |     0.486798    |     0.422053    |    -0.06474     |  ops/s |  -13.30% |
|                                                                                                           Mean Throughput |                    avg_rate_cpu_by_host_1m |     0.490317    |     0.425659    |    -0.06466     |  ops/s |  -13.19% |
|                                                                                                         Median Throughput |                    avg_rate_cpu_by_host_1m |     0.489162    |     0.425327    |    -0.06384     |  ops/s |  -13.05% |
|                                                                                                            Max Throughput |                    avg_rate_cpu_by_host_1m |     0.495276    |     0.429833    |    -0.06544     |  ops/s |  -13.21% |
|                                                                                                   50th percentile latency |                    avg_rate_cpu_by_host_1m |  2008.6         |  2313.16        |   304.56        |     ms |  +15.16% |
|                                                                                                   90th percentile latency |                    avg_rate_cpu_by_host_1m |  2058.34        |  2394.69        |   336.346       |     ms |  +16.34% |
|                                                                                                  100th percentile latency |                    avg_rate_cpu_by_host_1m |  2105.94        |  2427.88        |   321.94        |     ms |  +15.29% |
|                                                                                              50th percentile service time |                    avg_rate_cpu_by_host_1m |  2008.6         |  2313.16        |   304.56        |     ms |  +15.16% |
|                                                                                              90th percentile service time |                    avg_rate_cpu_by_host_1m |  2058.34        |  2394.69        |   336.346       |     ms |  +16.34% |
|                                                                                             100th percentile service time |                    avg_rate_cpu_by_host_1m |  2105.94        |  2427.88        |   321.94        |     ms |  +15.29% |
|                                                                                                                error rate |                    avg_rate_cpu_by_host_1m |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |   115.051       |   103.706       |   -11.3455      |  ops/s |   -9.86% |
|                                                                                                           Mean Throughput | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |   117.431       |   109.711       |    -7.71992     |  ops/s |   -6.57% |
|                                                                                                         Median Throughput | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |   116.585       |   110.163       |    -6.42167     |  ops/s |   -5.51% |
|                                                                                                            Max Throughput | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |   122.269       |   113.561       |    -8.70792     |  ops/s |   -7.12% |
|                                                                                                   50th percentile latency | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |     8.29184     |     8.346       |     0.05417     |     ms |   +0.65% |
|                                                                                                   90th percentile latency | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |     9.05168     |     9.09605     |     0.04437     |     ms |   +0.49% |
|                                                                                                   99th percentile latency | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    10.0614      |    10.0557      |    -0.00573     |     ms |   -0.06% |
|                                                                                                 99.9th percentile latency | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    28.573       |    28.6834      |     0.11047     |     ms |   +0.39% |
|                                                                                                99.99th percentile latency | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    36.9541      |    40.5952      |     3.64109     |     ms |   +9.85% |
|                                                                                                  100th percentile latency | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    38.2656      |    41.8719      |     3.60632     |     ms |   +9.42% |
|                                                                                              50th percentile service time | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |     8.28598     |     8.3484      |     0.06242     |     ms |   +0.75% |
|                                                                                              90th percentile service time | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |     9.048       |     9.09961     |     0.05161     |     ms |   +0.57% |
|                                                                                              99th percentile service time | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    10.0634      |    10.189       |     0.12556     |     ms |   +1.25% |
|                                                                                            99.9th percentile service time | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    28.573       |    28.7635      |     0.19059     |     ms |   +0.67% |
|                                                                                           99.99th percentile service time | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    36.9541      |    40.5952      |     3.64109     |     ms |   +9.85% |
|                                                                                             100th percentile service time | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |    38.2656      |    41.8719      |     3.60632     |     ms |   +9.42% |
|                                                                                                                error rate | avg_avgot_cpu_load_1m_filtered_by_hosts_5m |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    44.3646      |    35.6256      |    -8.73896     |  ops/s |  -19.70% |
|                                                                                                           Mean Throughput |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    47.3069      |    38.3789      |    -8.92806     |  ops/s |  -18.87% |
|                                                                                                         Median Throughput |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    47.6325      |    38.6898      |    -8.94269     |  ops/s |  -18.77% |
|                                                                                                            Max Throughput |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    48.3038      |    39.191       |    -9.11285     |  ops/s |  -18.87% |
|                                                                                                   50th percentile latency |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    19.8557      |    24.6064      |     4.75074     |     ms |  +23.93% |
|                                                                                                   90th percentile latency |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    20.6732      |    26.4502      |     5.77705     |     ms |  +27.94% |
|                                                                                                   99th percentile latency |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    24.161       |    29.0413      |     4.88035     |     ms |  +20.20% |
|                                                                                                 99.9th percentile latency |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    33.3324      |    36.7649      |     3.43244     |     ms |  +10.30% |
|                                                                                                  100th percentile latency |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    36.6813      |    40.6123      |     3.93097     |     ms |  +10.72% |
|                                                                                              50th percentile service time |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    19.8556      |    24.6037      |     4.74812     |     ms |  +23.91% |
|                                                                                              90th percentile service time |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    20.67        |    26.4481      |     5.77804     |     ms |  +27.95% |
|                                                                                              99th percentile service time |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    24.1748      |    29.036       |     4.86121     |     ms |  +20.11% |
|                                                                                            99.9th percentile service time |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    33.3324      |    36.7563      |     3.42384     |     ms |  +10.27% |
|                                                                                             100th percentile service time |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |    36.6813      |    40.6123      |     3.93097     |     ms |  +10.72% |
|                                                                                                                error rate |   avg_avgot_cpu_load_1m_prefix_by_hosts_5m |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |      sum_rate_sys_cpu_time_large_clause_5m |     0.530521    |     0.445593    |    -0.08493     |  ops/s |  -16.01% |
|                                                                                                           Mean Throughput |      sum_rate_sys_cpu_time_large_clause_5m |     0.549218    |     0.518724    |    -0.03049     |  ops/s |   -5.55% |
|                                                                                                         Median Throughput |      sum_rate_sys_cpu_time_large_clause_5m |     0.551556    |     0.527956    |    -0.0236      |  ops/s |   -4.28% |
|                                                                                                            Max Throughput |      sum_rate_sys_cpu_time_large_clause_5m |     0.555833    |     0.541547    |    -0.01429     |  ops/s |   -2.57% |
|                                                                                                   50th percentile latency |      sum_rate_sys_cpu_time_large_clause_5m |  1762.26        |  1768.07        |     5.81641     |     ms |   +0.33% |
|                                                                                                   90th percentile latency |      sum_rate_sys_cpu_time_large_clause_5m |  1808.36        |  1806.09        |    -2.26465     |     ms |   -0.13% |
|                                                                                                   99th percentile latency |      sum_rate_sys_cpu_time_large_clause_5m |  1821.51        |  1824.71        |     3.20325     |     ms |   +0.18% |
|                                                                                                  100th percentile latency |      sum_rate_sys_cpu_time_large_clause_5m |  1851.8         |  1847.04        |    -4.75891     |     ms |   -0.26% |
|                                                                                              50th percentile service time |      sum_rate_sys_cpu_time_large_clause_5m |  1762.26        |  1768.07        |     5.81641     |     ms |   +0.33% |
|                                                                                              90th percentile service time |      sum_rate_sys_cpu_time_large_clause_5m |  1808.36        |  1806.09        |    -2.26465     |     ms |   -0.13% |
|                                                                                              99th percentile service time |      sum_rate_sys_cpu_time_large_clause_5m |  1821.51        |  1824.71        |     3.20325     |     ms |   +0.18% |
|                                                                                             100th percentile service time |      sum_rate_sys_cpu_time_large_clause_5m |  1851.8         |  1847.04        |    -4.75891     |     ms |   -0.26% |
|                                                                                                                error rate |      sum_rate_sys_cpu_time_large_clause_5m |     0           |     0           |     0           |      % |    0.00% |
|                                                                                                            Min Throughput |              sum_lot_filesystem_usage_top5 |    23.4793      |    24.0481      |     0.56881     |  ops/s |   +2.42% |
|                                                                                                           Mean Throughput |              sum_lot_filesystem_usage_top5 |    24.5136      |    25.0107      |     0.49708     |  ops/s |   +2.03% |
|                                                                                                         Median Throughput |              sum_lot_filesystem_usage_top5 |    24.6599      |    25.1223      |     0.4624      |  ops/s |   +1.88% |
|                                                                                                            Max Throughput |              sum_lot_filesystem_usage_top5 |    24.84        |    25.3066      |     0.4666      |  ops/s |   +1.88% |
|                                                                                                   50th percentile latency |              sum_lot_filesystem_usage_top5 |    39.3353      |    38.2307      |    -1.10463     |     ms |   -2.81% |
|                                                                                                   90th percentile latency |              sum_lot_filesystem_usage_top5 |    42.1215      |    41.1355      |    -0.98598     |     ms |   -2.34% |
|                                                                                                   99th percentile latency |              sum_lot_filesystem_usage_top5 |    46.2582      |    44.6779      |    -1.58031     |     ms |   -3.42% |
|                                                                                                 99.9th percentile latency |              sum_lot_filesystem_usage_top5 |    57.2883      |    46.8969      |   -10.3914      |     ms |  -18.14% |
|                                                                                                  100th percentile latency |              sum_lot_filesystem_usage_top5 |    64.9968      |    49.5901      |   -15.4067      |     ms |  -23.70% |
|                                                                                              50th percentile service time |              sum_lot_filesystem_usage_top5 |    39.3345      |    38.2496      |    -1.08492     |     ms |   -2.76% |
|                                                                                              90th percentile service time |              sum_lot_filesystem_usage_top5 |    42.1362      |    41.1438      |    -0.99243     |     ms |   -2.36% |
|                                                                                              99th percentile service time |              sum_lot_filesystem_usage_top5 |    46.2589      |    44.6609      |    -1.59805     |     ms |   -3.45% |
|                                                                                            99.9th percentile service time |              sum_lot_filesystem_usage_top5 |    57.2883      |    46.8969      |   -10.3914      |     ms |  -18.14% |
|                                                                                             100th percentile service time |              sum_lot_filesystem_usage_top5 |    64.9968      |    49.5901      |   -15.4067      |     ms |  -23.70% |
|                                                                                                                error rate |              sum_lot_filesystem_usage_top5 |     0           |     0           |     0           |      % |    0.00% |

@romseygeek
Copy link
Contributor Author

Very encouraging! The much smaller time range buckets being slower is expected I guess, as they won't be able to make use of the sparse indexes as efficiently as larger ranges.

@martijnvg @kkrik-es I think this performance is close enough for us to merge and see if we can improve the small time range buckets performance in follow-ups. WDYT?

@kkrik-es
Copy link
Contributor

kkrik-es commented Oct 21, 2025

@martijnvg @kkrik-es I think this performance is close enough for us to merge and see if we can improve the small time range buckets performance in follow-ups. WDYT?

Indeed, very promising! Let's get it in, behind a feature flag, to further assess without affecting serverless.

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

The index.mapping.use_doc_values_skipper index setting only has effect today if doc_values_skipper feature flag is enabled. So PR as is, is good!

@romseygeek romseygeek changed the title Enable skippers on @timestamp and host.name fields in LogsDB Change index.mapping.use_doc_values_skipper default setting to true Oct 21, 2025
@romseygeek romseygeek merged commit 6117a0d into elastic:main Oct 21, 2025
34 checks passed
@romseygeek romseygeek deleted the benchmark/main-enabled-skippers branch October 21, 2025 11:29
chrisparrinello pushed a commit to chrisparrinello/elasticsearch that referenced this pull request Oct 24, 2025
…e` (elastic#134221)

TSBD and LogsDB indexes with this setting set to true do not use backing indexes
for `host.name`, `_tsid` or `@timestamp` fields, and instead enable sparse indexes
on their doc_values fields.

This was originally added and set to default to `true` a while back, but was then changed 
to default to `false` when performance suffered. Changes to lucene, and the addition of 
filter-by-filter optimizations on skipper queries, means that performance looks more 
acceptable now.

This is still gated behind a feature flag so that we can measure the behaviour in nightly
benchmarks before enabling for public use.
fzowl pushed a commit to voyage-ai/elasticsearch that referenced this pull request Nov 3, 2025
…e` (elastic#134221)

TSBD and LogsDB indexes with this setting set to true do not use backing indexes
for `host.name`, `_tsid` or `@timestamp` fields, and instead enable sparse indexes
on their doc_values fields.

This was originally added and set to default to `true` a while back, but was then changed 
to default to `false` when performance suffered. Changes to lucene, and the addition of 
filter-by-filter optimizations on skipper queries, means that performance looks more 
acceptable now.

This is still gated behind a feature flag so that we can measure the behaviour in nightly
benchmarks before enabling for public use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants