From 3ea4a533e31627e554af5ccffaeaa776a67c358d Mon Sep 17 00:00:00 2001 From: Patrick Stephens Date: Wed, 11 Dec 2024 14:55:48 +0000 Subject: [PATCH] calyptia: add support for configurable format Signed-off-by: Patrick Stephens --- plugins/in_calyptia_fleet/in_calyptia_fleet.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/in_calyptia_fleet/in_calyptia_fleet.c b/plugins/in_calyptia_fleet/in_calyptia_fleet.c index b6d56fc5cf8..a1d9bdad642 100644 --- a/plugins/in_calyptia_fleet/in_calyptia_fleet.c +++ b/plugins/in_calyptia_fleet/in_calyptia_fleet.c @@ -2349,6 +2349,11 @@ static struct flb_config_map config_map[] = { 0, FLB_TRUE, offsetof(struct flb_in_calyptia_fleet_config, interval_nsec), "Set the collector interval (nanoseconds)" }, + { + FLB_CONFIG_MAP_BOOL, "fleet_config_legacy_format", "true", + 0, FLB_TRUE, offsetof(struct flb_in_calyptia_fleet_config, fleet_config_legacy_format), + "If set, use legacy (TOML) format for configuration files." + }, /* EOF */ {0} };