diff --git a/plugins/out_cloudwatch_logs/cloudwatch_logs.c b/plugins/out_cloudwatch_logs/cloudwatch_logs.c index 5de71633016..c5e808ae141 100644 --- a/plugins/out_cloudwatch_logs/cloudwatch_logs.c +++ b/plugins/out_cloudwatch_logs/cloudwatch_logs.c @@ -53,8 +53,7 @@ static struct flb_aws_header content_type_header = { static int validate_log_group_class(struct flb_cloudwatch *ctx) { if (ctx->create_group == FLB_FALSE) { - flb_plg_error(ctx->ins, "Configuring log_group_class requires `auto_create_group On`."); - return -1; + return 0; } if (ctx->log_group_class == NULL || strlen(ctx->log_group_class) == 0) {