Skip to content

Commit 5f8d318

Browse files
committed
Expand event ordering
Backport of #11715 to 7.7
1 parent 5e3310f commit 5f8d318

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

docs/static/processing-info.asciidoc

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
77
knowledge.
88

99
NOTE: 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+
1530
The `pipeline.ordered` setting in <<logstash-settings-file,logstash.yml>>
1631
gives you more control over event ordering for single worker pipelines.
1732

@@ -28,8 +43,3 @@ processing cost required to preserve order.
2843
The Java pipeline initialization time appears in the startup logs at INFO level.
2944
Initialization time is the time it takes to compile the pipeline config and
3045
instantiate the compiled execution for all workers.
31-
32-
If you notice a slowdown, ...
33-
34-
35-

0 commit comments

Comments
 (0)