eid-ops/log-2.sveidas.se/overlay/etc/telegraf/telegraf.conf.d/50-json-input.conf

36 lines
1,018 B
Text
Raw Normal View History

[[inputs.tail]]
files = ["/var/log/eidas_stats.log"]
data_format = "json"
tag_keys = ["requester","country"]
json_name_key = "type"
json_time_key = "timestamp"
json_time_format = "unix_ms"
json_timezone = "Local"
2022-05-10 13:33:40 +02:00
[[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"