From 6b6d179cdc11bbe8afe5f3d368c98f1c3e4c0ff8 Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Fri, 28 Mar 2025 10:07:22 +0100 Subject: [PATCH] Make all log-servers have the same config, SC-2522 There was diffs between test, qa and prod. I dont know the reason for that, so we will try to run the same config. --- .../puppet/modules/eid/templates/telegraf2/telegraf.conf.erb | 2 -- 1 file changed, 2 deletions(-) diff --git a/global/overlay/etc/puppet/modules/eid/templates/telegraf2/telegraf.conf.erb b/global/overlay/etc/puppet/modules/eid/templates/telegraf2/telegraf.conf.erb index 3cc6a9af..fcaaa822 100644 --- a/global/overlay/etc/puppet/modules/eid/templates/telegraf2/telegraf.conf.erb +++ b/global/overlay/etc/puppet/modules/eid/templates/telegraf2/telegraf.conf.erb @@ -23,7 +23,6 @@ json_time_key = "ts" json_time_format = "2006-01-02 15:04:05" json_timezone = "Local" -<% end -%> [[inputs.tail]] files = ["/var/log/eidas_stats.log"] data_format = "json" @@ -39,7 +38,6 @@ tag_keys = ["type", "principal", "data_eidasResponseLoA", "data_requesterId", "data_requestedLoa", "data_connectorCuntry", "data_connectorEntityId", "data_nationalIdP", "data_loaMatching", "data_spType", "data_eIDASAssertionIssueTime", "data_requestedLoa" ] [inputs.tail.tags] influxdb_database = "proxy" -<% if @server_type == 'log' -%> [[processors.parser]] parse_fields = ["message"] merge = "override"