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

19 lines
662 B
Text

[[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"
[[inputs.tail]]
files = ["/var/log/eidas_proxy.log"]
data_format = "json"
json_name_key = "type"
tag_keys = ["principal", "data_eidasResponseLoA", "data_requesterId", "data_requestedLoa", "data_connectorCuntry", "data_connectorEntityId", "nationalIdP", "loaMatching", "spType" ]
[inputs.tail.tags]
influxdb_database = "proxy"
[[processors.parser]]
parse_fields = ["message"]
merge = "override"
data_format = "json"