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.
This commit is contained in:
Patrik Holmqvist 2025-03-28 10:07:22 +01:00
parent d3c7d9e13a
commit 6b6d179cdc
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -23,7 +23,6 @@
json_time_key = "ts" json_time_key = "ts"
json_time_format = "2006-01-02 15:04:05" json_time_format = "2006-01-02 15:04:05"
json_timezone = "Local" json_timezone = "Local"
<% end -%>
[[inputs.tail]] [[inputs.tail]]
files = ["/var/log/eidas_stats.log"] files = ["/var/log/eidas_stats.log"]
data_format = "json" 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" ] 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] [inputs.tail.tags]
influxdb_database = "proxy" influxdb_database = "proxy"
<% if @server_type == 'log' -%>
[[processors.parser]] [[processors.parser]]
parse_fields = ["message"] parse_fields = ["message"]
merge = "override" merge = "override"