-
Notifications
You must be signed in to change notification settings - Fork 1.8k
config: multiline: in_tail: filter_multiline: Add configurable buffer limit for multiline interface #10653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
edsiper
merged 34 commits into
master
from
cosmo0920-add-limit-for-multiline-concatenation
Sep 22, 2025
Merged
config: multiline: in_tail: filter_multiline: Add configurable buffer limit for multiline interface #10653
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
c67df46
config: Add parameter for multiline limitation
cosmo0920 004882d
ml: group: stream: Prepare to handle limitations of multiline
cosmo0920 419e6f3
ml: Process truncations
cosmo0920 c75e394
filter_multiline: Handle truncations due to exceeded limits
cosmo0920 2b69bdb
in_tail: Handle truncations due to exceeded limits
cosmo0920 8fe7002
ml: rule: Apply limit of group during regex handling
cosmo0920 bcaf3d8
ml: group: stream: Add multiline_truncated: true metadata for truncat…
cosmo0920 f53851f
ml: Refer the configured limitation of multiline
cosmo0920 eea8a36
ml: rule: Flush immediately when truncated
cosmo0920 fe4197d
ml: Avoid to use the collided status code
cosmo0920 93e8e84
ml: tests: Process truncated case and follow the interface change
cosmo0920 6d4dd4d
ml: tests: Detect truncation ocurrence in multiline testcase.
cosmo0920 d27e374
in_tail: Add metrics for number of occurrence of truncations on multi…
cosmo0920 73fefca
filter_multiline: Add metrics for emissions and truncations
cosmo0920 1b4b047
config: ml: Handle SI prefixes on the buffer limit of multiline
cosmo0920 6fa3d0f
ml: tests: Follow the type change for the buffer limit
cosmo0920 38fc6ca
utils: tests: Implement binary bytes conversion function
cosmo0920 614de24
ml: Use binary byte conversion function
cosmo0920 e57c152
filter_multiline: Process truncated metrics always
cosmo0920 ce2fb2e
ml: rule: Propagate errors
cosmo0920 92cd2a7
plugin: filter_multiline: Add NULL checks on initialize
cosmo0920 ad3afc0
ml_parser: Implement default parameter based initializer
cosmo0920 96817ba
ml_parser: Address coderabbitai comments
cosmo0920 0249a2d
tests: internal: multiline: Use the new interface for a truncation test
cosmo0920 2018edc
ml_parser: Address coderabbitai comment
cosmo0920 63e3ccb
tests: internal: multiline: Remove a needless instantiation of builti…
cosmo0920 f7b77c9
filter_multiline: Add a missing increment metrics
cosmo0920 6a5b55b
config: Handle the default value of multiline limit in heap
cosmo0920 663445a
multiline: internal: tests: Handle the limit of multiline buffer corr…
cosmo0920 36dbee5
slist: Propagate errors and plug a memory leak
cosmo0920 43bfd9d
config: Plug a memory leak on exception
cosmo0920 1dea0a6
multiline: ml: Disable multiline truncation with zero limit
cosmo0920 51b3f41
ml: tests: Add disabling case for multiline truncation
cosmo0920 a185802
multiline: ml: Reset length of msgpack unpacking buffer
cosmo0920 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing to status code 2 is needed because status code 1 will be collided for FLB_TRUE status.