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"