x-pack/filebeat/input/httpjson/internal/v2: allow split chains to continue past empty targets #27880
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.
What does this PR do?
This adds a configuration option "ignore_error" that allows a split processor chain to continue if a target field is present but empty.
Why is it important?
This is required to address #26008 by allowing multiple splits on an input (see #26008 (comment)).
Checklist
- [ ] I have made corresponding change to the default configuration filesDefaults to existing behaviour.CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
split_test.go
How to test this PR locally
Standard testing.
Related issues
Use cases
See related issue.
Screenshots
N/A
Logs
N/A