x-pack/filebeat/input/httpjson: allow elision of set and append failure logging#39929
Merged
efd6 merged 1 commit intoelastic:mainfrom Jun 21, 2024
Merged
x-pack/filebeat/input/httpjson: allow elision of set and append failure logging#39929efd6 merged 1 commit intoelastic:mainfrom
efd6 merged 1 commit intoelastic:mainfrom
Conversation
Contributor
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
chrisberkhout
approved these changes
Jun 19, 2024
Contributor
chrisberkhout
left a comment
There was a problem hiding this comment.
This seems like a fine improvement for the noisy logs problem.
At some point it would be good to stop requiring failure to terminate pagination. Perhaps there could be a pagination_until option:
response.pagination_until: '[[not (index .last_response.body.meta "cursor")]]'
response.pagination:
- set:
target: url.params.cursor
value: '[[.last_response.body.meta.cursor]]'
Contributor
|
This pull request is now in conflicts. Could you fix it? 🙏 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed commit message
See title.
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Author's Checklist
How to test this PR locally
In the httpjson package run the following commands. The first should show a set of messages at DEBUG level and none at ERROR level. The second should show no output.
Related issues
Use cases
Screenshots
Logs