diff --git a/plugins/filter_log_to_metrics/log_to_metrics.c b/plugins/filter_log_to_metrics/log_to_metrics.c index a61e4827f34..99b4034c142 100644 --- a/plugins/filter_log_to_metrics/log_to_metrics.c +++ b/plugins/filter_log_to_metrics/log_to_metrics.c @@ -271,7 +271,7 @@ static int set_labels(struct log_to_metrics_ctx *ctx, else if (strcasecmp(kv->key, "add_label") == 0) { split = flb_utils_split(kv->val, ' ', 1); if (mk_list_size(split) != 2) { - flb_plg_error(ctx->ins, "invalid label, expected name and key"); + flb_plg_error(ctx->ins, "invalid add_label, expected name and key"); flb_utils_split_free(split); return -1; }