summaryrefslogtreecommitdiff
path: root/roles/telegraf_statistic
diff options
context:
space:
mode:
authorzhangzhihan <[email protected]>2020-06-24 18:08:40 +0800
committerzhangzhihan <[email protected]>2020-06-24 18:08:40 +0800
commite6fbb265a82a3e8939cc54707358616579e0fcf4 (patch)
tree359ec62ca898d411b6fc11d62e1d1bb27d2d8250 /roles/telegraf_statistic
parente1dc6b5f6221e32de7c323846de065f4bd852f2c (diff)
Diffstat (limited to 'roles/telegraf_statistic')
-rwxr-xr-xroles/telegraf_statistic/templates/telegraf_statistic.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2 b/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2
index c89150b..6585bf2 100755
--- a/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2
+++ b/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2
@@ -17,7 +17,7 @@
files = ["stdout", "/tmp/metrics.out"]
data_format = "json"
[[outputs.kafka]]
- brokers = ["{{ log_kafkabrokers.address }}"]
+ brokers = ["192.168.40.186:9092"]
topic = "TRAFFIC-METRICS-LOG"
data_format = "json"
[[outputs.prometheus_client]]