Skip to content
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

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

Claych
Copy link
Contributor

@Claych Claych commented Nov 21, 2022

Signed-off-by: Clay Cheng [email protected]

@PettitWesley
Copy link
Contributor

@Claych please add spaces in commit and title: pipeline:outputs:firehose:update

@@ -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. |
Copy link
Contributor

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..."

Copy link
Contributor

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?

Copy link
Contributor Author

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 "."

@@ -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. |
Copy link
Contributor

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..."

@Claych Claych force-pushed the streams-clay-time-key branch from f2fe8a6 to 2f129d1 Compare November 21, 2022 18:49
@Claych Claych changed the title pipeline:outputs:kinesis:update doc for time_key_format. pipeline: outputs: kinesis: update doc for time_key_format. Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants