Add telegraf conf to send proxy log to influxdb.
This commit is contained in:
parent
983d309020
commit
6b17a4930d
1 changed files with 27 additions and 0 deletions
|
@ -6,3 +6,30 @@
|
||||||
json_time_key = "timestamp"
|
json_time_key = "timestamp"
|
||||||
json_time_format = "unix_ms"
|
json_time_format = "unix_ms"
|
||||||
json_timezone = "Local"
|
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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue