Skip to content

Commit

Permalink
docs: fix epoch timestamp precision
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Mar 26, 2024
1 parent 78c5f81 commit 874b1ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changes/ce/feat-12785.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ This new config supports the following values:

- `auto`: Automatically determines the timestamp format based on the log formatter being used.
Utilizes `rfc3339` format for text formatters, and `epoch` format for JSON formatters.
- `epoch`: Represents timestamps in milliseconds precision Unix epoch format.
- `epoch`: Represents timestamps in microseconds precision Unix epoch format.
- `rfc3339`: Uses RFC3339 compliant format for date-time strings. For example: `2024-03-26T11:52:19.777087+00:00`.

2 changes: 1 addition & 1 deletion rel/i18n/emqx_conf_schema.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ common_handler_timestamp_format.label:
common_handler_timestamp_format.desc: """~
Pick a timestamp format:
- `auto`: automatically choose the best format based on log formatter. `epoch` for JSON and `rfc3339` for text.
- `epoch`: Unix epoch time in milliseconds.
- `epoch`: Unix epoch time in microseconds.
- `rfc3339`: RFC3339 format."""

rpc_async_batch_size.desc:
Expand Down

0 comments on commit 874b1ff

Please sign in to comment.