From e33759c5684796859d7e2c88ec5b0500494d25c7 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Sat, 23 Sep 2023 11:45:12 -0600 Subject: [PATCH] filter_log_to_metrics: rename 'label' option to 'add_label' (#7964) Signed-off-by: Eduardo Silva --- plugins/filter_log_to_metrics/log_to_metrics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/filter_log_to_metrics/log_to_metrics.c b/plugins/filter_log_to_metrics/log_to_metrics.c index 5db50a4f33e..cb7f285d882 100644 --- a/plugins/filter_log_to_metrics/log_to_metrics.c +++ b/plugins/filter_log_to_metrics/log_to_metrics.c @@ -932,9 +932,9 @@ static struct flb_config_map config_map[] = { "Enable kubernetes log metric fields" }, { - FLB_CONFIG_MAP_STR, "label", NULL, + FLB_CONFIG_MAP_STR, "add_label", NULL, FLB_CONFIG_MAP_MULT, FLB_FALSE, 0, - "Specify message field that should be included in the metric" + "Add a label to the metric by supporting record accessor pattern" }, { FLB_CONFIG_MAP_STR, "label_field", NULL,