diff --git a/plugins/out_es/es.c b/plugins/out_es/es.c index 5d6a428992a..9f7a6b652f6 100644 --- a/plugins/out_es/es.c +++ b/plugins/out_es/es.c @@ -675,7 +675,7 @@ static int elasticsearch_error_check(struct flb_elasticsearch *ctx, } /* Lookup error field */ - if (strstr(c->resp.payload, "\"errors\":false,\"items\":[")) { + if (strstr(c->resp.payload, "\"errors\":false")) { return FLB_FALSE; }