diff --git a/integrations/event-handler/fluentd_client.go b/integrations/event-handler/fluentd_client.go index e1369adc8c661..955877aa843a8 100644 --- a/integrations/event-handler/fluentd_client.go +++ b/integrations/event-handler/fluentd_client.go @@ -130,7 +130,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) }