-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipeline: outputs: kinesis: update doc for time_key_format. #981
Conversation
@Claych please add spaces in commit and title: pipeline:outputs:firehose:update |
pipeline/outputs/kinesis.md
Outdated
@@ -19,7 +19,7 @@ See [here](https://github.com/fluent/fluent-bit-docs/tree/43c4fe134611da471e706b | |||
| region | The AWS region. | | |||
| stream | The name of the Kinesis Streams Delivery stream that you want log records sent to. | | |||
| time\_key | Add the timestamp to the record under this key. By default the timestamp from Fluent Bit will not be added to records sent to Kinesis. | | |||
| time\_key\_format | strftime compliant format string for the timestamp; for example, the default is '%Y-%m-%dT%H:%M:%S'. This option is used with time\_key. | | |||
| time\_key\_format | strftime compliant format string for the timestamp; for example, the default is '%Y-%m-%dT%H:%M:%S'. Now can support millisecond with '%3N' and support nanosecond with '%9N' and '%L'; for example, adding '%3N' to support millisecond '%Y-%m-%dT%H:%M:%S:%3N'. This option is used with time\_key. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs are timeless, so do not use words like "now". Just "Supports millisecond with..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'%Y-%m-%dT%H:%M:%S:%3N'
Should it be .%3N
since that is what most users would configure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, will delete "now" and change ":" to "."
00a078f
to
f2fe8a6
Compare
pipeline/outputs/kinesis.md
Outdated
@@ -19,7 +19,7 @@ See [here](https://github.com/fluent/fluent-bit-docs/tree/43c4fe134611da471e706b | |||
| region | The AWS region. | | |||
| stream | The name of the Kinesis Streams Delivery stream that you want log records sent to. | | |||
| time\_key | Add the timestamp to the record under this key. By default the timestamp from Fluent Bit will not be added to records sent to Kinesis. | | |||
| time\_key\_format | strftime compliant format string for the timestamp; for example, the default is '%Y-%m-%dT%H:%M:%S'. This option is used with time\_key. | | |||
| time\_key\_format | strftime compliant format string for the timestamp; for example, the default is '%Y-%m-%dT%H:%M:%S'.Support millisecond with '%3N' and support nanosecond with '%9N' and '%L'; for example, adding '%3N' to support millisecond '%Y-%m-%dT%H:%M:%S.%3N'. This option is used with time\_key. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grammar/language nit: I believe it reads better as "Supports millisecond precision '%3N' and supports nanosecond precision with..."
Signed-off-by: Clay Cheng <[email protected]>
f2fe8a6
to
2f129d1
Compare
Signed-off-by: Clay Cheng [email protected]