Hi everybody,

I'm currently working on adjusting the logging format to our nginx proxies.
In order to comply to some logging endpoint standards I'm trying to find
the right place where I could convert the $request_time value from "seconds
with a millisecond resolution" to nanoseconds.
Can it be done in nginx itself (without lua)?
The following works but it's dirty:

map $request_time $request_time_no_decimal { ~(.*)\.(.*) $1$2; }

Best,
Dorin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to