Double counting of documents processed when both a default/request and a final pipeline are used #92843
Labels
>bug
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
Team:Data Management
Meta label for data/management team
The above creates three pipelines that each record their name into any documents that are processed. Note that
pipeline-1
will callpipeline-2
, and thatpipeline-1
is installed as thedefault_pipeline
whilepipeline-3
is installed as thefinal_pipeline
(reminder: both thedefault_pipeline
and thefinal_pipeline
will be executed when a document is indexed).The
_search
near the end will give a result like this:Note that fields 1-3 all have the expected value, indicating that all three processors executed against this document.
The
_nodes/stats
call will give a result like this:The
"count"
for each individual pipeline is correct – each pipeline was executed against a single document. However, we're double counting at the top-level, the"total"
"count"
is 2 but should have only been 1 (there was only just one document).The text was updated successfully, but these errors were encountered: