Add telegraf conf to send proxy log to influxdb.

This commit is contained in:
Fredrik Kjellman 2022-05-03 18:36:25 +02:00
parent 983d309020
commit 6b17a4930d

View file

@ -6,3 +6,30 @@
json_time_key = "timestamp"
json_time_format = "unix_ms"
json_timezone = "Local"
[[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"
[[processors.parser]]
parse_fields = ["message"]
merge = "override"
data_format = "json"