caddy: timestamp now extracted from log line
This commit is contained in:
parent
967a1af697
commit
2a2a1a35af
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue