Skip to content
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

Override HTTP Status Codes that are Retried #13414

Closed
debugmiller opened this issue Jul 1, 2022 · 1 comment
Closed

Override HTTP Status Codes that are Retried #13414

debugmiller opened this issue Jul 1, 2022 · 1 comment
Labels
type: feature A value-adding code addition that introduce new functionality.

Comments

@debugmiller
Copy link

debugmiller commented Jul 1, 2022

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

We use the splunk_hec sink to send data to Splunk Cloud. Unfortunately Splunk Cloud occasionally returns HTTP 404 which, understandably, causes Vector to drop data with the following message: Not retriable; dropping the request. The situation is always transient, lasting only a few seconds.

Attempted Solutions

We have talked extensively with Splunk support and it seems like this is known (expected) behavior and happens intermittently when they are doing backend maintenance. They do not expect to fix this behavior.

Proposal

It would be great if the Splunk HEC sink (and presumably HTTP if thats the underlying sink) allowed us to override the HTTP status codes that are retried so that we could add 404 to the list of status codes that are retried. This would let us prevent Vector from dropping data.

References

No response

Version

vector 0.22.0 (x86_64-apple-darwin 5e937e3 2022-06-01)

@debugmiller debugmiller added the type: feature A value-adding code addition that introduce new functionality. label Jul 1, 2022
@debugmiller debugmiller changed the title Override HTTP Status Code Retry behavior Override Which HTTP Status Codes are Retried Jul 1, 2022
@debugmiller debugmiller changed the title Override Which HTTP Status Codes are Retried Override HTTP Status Codes that are Retried Jul 1, 2022
@jszwedko
Copy link
Member

jszwedko commented Jul 1, 2022

Hi @debugmiller !

Thanks for opening this. I think this is related to #10870 so I'll close this and link it there, but feel free to add any more details to that issue. I think this is something we will be picking up in Q3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants