caddy: timestamp now extracted from log line

This commit is contained in:
Tigor Hutasuhut 2024-09-16 10:46:23 +07:00
parent 967a1af697
commit 2a2a1a35af

View file

@ -94,6 +94,7 @@ in
host = "request.host", host = "request.host",
method = "request.method", method = "request.method",
proto = "request.proto", proto = "request.proto",
ts = "",
} }
} }
@ -115,6 +116,11 @@ in
job = "caddy_access_log", job = "caddy_access_log",
} }
} }
stage.timestamp {
source = "ts"
format = "unix"
}
} }
''; '';
}; };