From f54da4d748b8ca1aa1467ee063a33d42a492e346 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Tue, 5 Feb 2019 17:45:44 -0800 Subject: [PATCH] Update changelog/csv parser docs --- CHANGELOG.md | 1 + plugins/parsers/csv/README.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 483071510..c7ecfdaec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ - [#5294](https://github.com/influxdata/telegraf/pull/5294): Support passing bearer token directly in prometheus input. - [#5292](https://github.com/influxdata/telegraf/pull/5292): Add option to report input timestamp in prometheus output. - [#5234](https://github.com/influxdata/telegraf/pull/5234): Add Linux mipsle packages. +- [#5382](https://github.com/influxdata/telegraf/pull/5382): Support unix_us and unix_ns timestamp format in csv parser. #### Bugfixes diff --git a/plugins/parsers/csv/README.md b/plugins/parsers/csv/README.md index 488846b5e..ec1ffa1ca 100644 --- a/plugins/parsers/csv/README.md +++ b/plugins/parsers/csv/README.md @@ -74,9 +74,9 @@ time using the JSON document you can use the `csv_timestamp_column` and document. The `csv_timestamp_column` option specifies the key containing the time value and -`csv_timestamp_format` must be set to `unix`, `unix_ms`, or a format string in -using the Go "reference time" which is defined to be the **specific time**: -`Mon Jan 2 15:04:05 MST 2006`. +`csv_timestamp_format` must be set to `unix`, `unix_ms`, `unix_us`, `unix_ns`, +or a format string in using the Go "reference time" which is defined to be the +**specific time**: `Mon Jan 2 15:04:05 MST 2006`. Consult the Go [time][time parse] package for details and additional examples on how to set the time format.