diff --git a/integrations/event-handler/fluentd_client.go b/integrations/event-handler/fluentd_client.go index 32d18c31755af..f9e937a2f9abd 100644 --- a/integrations/event-handler/fluentd_client.go +++ b/integrations/event-handler/fluentd_client.go @@ -129,7 +129,7 @@ func (f *FluentdClient) Send(ctx context.Context, url string, b []byte) error { } defer r.Body.Close() - if r.StatusCode != http.StatusOK { + if r.StatusCode != http.StatusOK && r.StatusCode != http.StatusNoContent { return trace.Errorf("Failed to send event to fluentd (HTTP %v)", r.StatusCode) }