11[[processing]]
22=== Processing Details
33
4- Understanding how {ls} works and how components interrelate can help you make better
5- decisions when you are setting up or adjusting your {ls} environment. This
6- section is designed to elevate concepts to assist with that level of
4+ Understanding how {ls} works and how components interrelate can help you make
5+ better decisions when you are setting up or adjusting your {ls} environment.
6+ This section is designed to elevate concepts to assist with that level of
77knowledge.
88
99NOTE: This is a new section. We're still working on it.
@@ -12,6 +12,21 @@ NOTE: This is a new section. We're still working on it.
1212[[event-ordering]]
1313==== Event ordering
1414
15+ By design and by default, {ls} does not guarantee event order. Reordering can
16+ occur in two places:
17+
18+ * Events within a batch can be reordered during filter processing.
19+ * In-flight batches can be reordered when one or more batches process faster than
20+ others.
21+
22+ When maintaining event order is important, use a single worker.
23+ This approach ensures that batches are computed one-after-the-other, and
24+ that events maintain their order within the batch.
25+
26+ [float]
27+ [[order-setting]]
28+ ===== 'pipeline.ordered' setting
29+
1530The `pipeline.ordered` setting in <<logstash-settings-file,logstash.yml>>
1631gives you more control over event ordering for single worker pipelines.
1732
@@ -28,8 +43,3 @@ processing cost required to preserve order.
2843The Java pipeline initialization time appears in the startup logs at INFO level.
2944Initialization time is the time it takes to compile the pipeline config and
3045instantiate the compiled execution for all workers.
31-
32- If you notice a slowdown, ...
33-
34-
35-
0 commit comments