Damien Claisse
ae6f125c7b
MINOR: sample: add us/ms support to date/http_date
...
It can be sometimes interesting to have a timestamp with a
resolution of less than a second.
It is currently painful to obtain this, because concatenation
of date and date_us lead to a shorter timestamp during first
100ms of a second, which is not parseable and needs ugly ACLs
in configuration to prepend 0s when needed.
To improve this, add an optional <unit> parameter to date sample
to report an integer with desired unit.
Also support this unit in http_date converter to report
a date string with sub-second precision.
2019-10-31 08:47:31 +01:00
..
2017-10-31 11:36:12 +01:00
2019-04-23 11:41:52 +02:00
2019-05-20 21:14:14 +02:00
2019-07-18 10:45:08 +02:00
2016-03-15 22:11:52 +01:00
2014-03-17 18:06:07 +01:00
2019-07-19 13:50:09 +02:00
2019-07-05 14:26:15 +02:00
2017-11-07 11:10:24 +01:00
2019-08-09 10:11:38 +02:00
2016-02-09 14:53:15 +01:00
2019-09-23 18:16:08 +02:00
2019-06-05 08:33:35 +02:00
2019-04-23 11:41:52 +02:00
2019-09-17 10:18:54 +02:00
2019-10-01 11:52:08 +02:00
2019-09-17 10:18:54 +02:00
2018-12-11 17:09:31 +01:00
2019-05-25 20:31:53 +02:00
2015-04-06 11:23:56 +02:00
2019-10-14 22:28:50 +02:00
2016-11-24 21:35:10 +01:00
2019-08-21 14:32:09 +02:00
2019-09-27 08:48:53 +02:00
2019-07-19 09:18:27 +02:00
2019-07-23 14:58:32 +02:00
2018-10-02 18:28:05 +02:00
2019-01-02 20:22:17 +01:00
2012-02-21 22:27:27 +01:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2017-10-31 13:58:31 +01:00
2019-10-14 11:24:17 +02:00
2019-09-17 10:18:54 +02:00
2015-08-20 17:13:46 +02:00
2017-10-31 18:03:23 +01:00
2019-05-22 11:29:18 +02:00
2019-05-22 11:50:48 +02:00
2017-07-04 10:45:53 +02:00
2015-04-06 11:23:56 +02:00
2019-06-05 08:42:33 +02:00
2009-01-25 13:49:53 +01:00
2019-04-30 15:10:17 +02:00
2018-09-12 07:20:17 +02:00
2019-05-06 22:12:57 +02:00
2016-04-14 11:18:22 +02:00
2019-04-01 07:44:56 +02:00
2019-07-24 16:45:02 +02:00
2019-09-30 04:11:36 +02:00
2018-11-26 19:50:32 +01:00
2016-12-22 23:26:38 +01:00
2019-08-27 17:14:19 +02:00
2019-10-31 08:47:31 +01:00
2019-09-23 18:16:08 +02:00
2019-07-04 14:28:18 +02:00
2019-04-01 07:44:56 +02:00
2018-11-26 19:50:32 +01:00
2019-08-27 17:14:19 +02:00
2019-05-07 22:16:41 +02:00
2019-06-05 18:03:38 +02:00
2019-10-10 11:30:07 +02:00
2019-06-05 08:33:35 +02:00
2019-10-29 14:15:20 +01:00
2019-07-12 16:17:50 +02:00
2019-10-18 09:04:55 +02:00
2017-10-31 11:36:12 +01:00
2006-06-29 18:54:54 +02:00
2019-08-29 17:11:25 +02:00
2016-11-09 22:57:01 +01:00