From 9c3162259882c74646c6ce3d91591655c3b40f41 Mon Sep 17 00:00:00 2001 From: reyesj2 <94730068+reyesj2@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:42:00 -0400 Subject: [PATCH] telegraft should only include jolokia config when Kafka is set as the global.pipeline Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com> --- salt/telegraf/etc/telegraf.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/telegraf/etc/telegraf.conf b/salt/telegraf/etc/telegraf.conf index 1e8d9d3fe..d730fc0b0 100644 --- a/salt/telegraf/etc/telegraf.conf +++ b/salt/telegraf/etc/telegraf.conf @@ -235,7 +235,7 @@ # ## Use TLS but skip chain & host verification # # insecure_skip_verify = false -{% if grains.role in ['so-searchnode','so-standalone','so-manager', 'so-managersearch', 'so-heavynode', 'so-receiver'] -%} +{% if grains.role in ['so-searchnode','so-standalone','so-manager', 'so-managersearch', 'so-heavynode', 'so-receiver'] and GLOBALS.pipeline == "KAFKA" -%} [[inputs.logstash]] url = "http://localhost:9600" collect = ["pipelines"]