updated telegraf settings

This commit is contained in:
Erik Bergström 2022-05-20 13:46:53 +02:00
parent 19e00f2c2b
commit 1e82cb18e7
2 changed files with 8 additions and 40 deletions

View file

@ -9,26 +9,10 @@
[[inputs.tail]]
files = ["/var/log/eidas_proxy.log"]
data_format = "json"
tag_keys = ["type",
"timestamp",
"connectorEntityId",
"requesterId",
"loaMatching",
"connectorCuntry",
"spType",
"requestedLoa",
"eidasResponseLoA",
"eidasRequestId",
"eidasResponseId",
"principal",
"nationalAssertionId",
"nationalRequestId",
"nationalIdP",
"eIDASAssertionIssueTime",
"eidasAssertionId"]
json_time_key = "timestamp"
json_time_format = "unix_ms"
json_timezone = "Local"
json_name_key = "type"
tag_keys = ["type", "requesterId", "connectorCuntry"]
[inputs.tail.tags]
influxdb_database = "proxy"
[[processors.parser]]
parse_fields = ["message"]
merge = "override"

View file

@ -9,26 +9,10 @@
[[inputs.tail]]
files = ["/var/log/eidas_proxy.log"]
data_format = "json"
tag_keys = ["type",
"timestamp",
"connectorEntityId",
"requesterId",
"loaMatching",
"connectorCuntry",
"spType",
"requestedLoa",
"eidasResponseLoA",
"eidasRequestId",
"eidasResponseId",
"principal",
"nationalAssertionId",
"nationalRequestId",
"nationalIdP",
"eIDASAssertionIssueTime",
"eidasAssertionId"]
json_time_key = "timestamp"
json_time_format = "unix_ms"
json_timezone = "Local"
json_name_key = "type"
tag_keys = ["type", "requesterId", "connectorCuntry"]
[inputs.tail.tags]
influxdb_database = "proxy"
[[processors.parser]]
parse_fields = ["message"]
merge = "override"