We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d2417 commit 41b90b7Copy full SHA for 41b90b7
plugins/out_splunk/splunk.c
@@ -768,8 +768,13 @@ static void cb_splunk_flush(struct flb_event_chunk *event_chunk,
768
* them:
769
*
770
* https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/TroubleshootHTTPEventCollector#Possible_error_codes
771
+ * From trouble shoot document on Splunk secure gateway,
772
+ * 408 and 429 should be also handled as try again:
773
+ *
774
+ * https://docs.splunk.com/Documentation/SecureGateway/3.5.15/Admin/TroubleshootGateway#Troubleshoot_error_codes
775
*/
- ret = (c->resp.status < 400 || c->resp.status >= 500) ?
776
+ ret = (c->resp.status < 400 || c->resp.status >= 500 ||
777
+ c->resp.status == 408 || c->resp.status == 429) ?
778
FLB_RETRY : FLB_ERROR;
779
780
0 commit comments