-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add automatic retries and exponential backoff to Filebeat httpjson input #18956
Conversation
❕ Build Aborted
Expand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
Pinging @elastic/siem (Team:SIEM) |
jenkins, test this |
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.
Can you please update the documentation for the httpjson input to include these new options.
… retryablehttp-okta
@andrewkroh Please review again. thanks |
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.
LGTM
Please backport this to 7.8 and 7.x. |
…put (elastic#18956) - Add automatic retries and exponential backoff to Filebeat httpjson input (elastic#18956) - Add test cases - Support the new OAuth2 functionality (cherry picked from commit 0dcb3df)
…put (elastic#18956) - Add automatic retries and exponential backoff to Filebeat httpjson input (elastic#18956) - Add test cases - Support the new OAuth2 functionality
Add automatic retries and exponential backoff to Filebeat httpjson input. If an HTTP error is returned by the client, e.g., connection errors, or if a 500-range response code is received (except 501), then a retry is automatically invoked after a defined wait period.
go test result: