You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Amazon Kinesis Data Streams output plugin allows to ingest your records into the [Kinesis](https://aws.amazon.com/kinesis/data-streams/) service.
7
+
The Amazon Kinesis Data Streams output plugin lets you ingest your records into the [Kinesis](https://aws.amazon.com/kinesis/data-streams/) service.
8
8
9
-
This is the documentation for the core Fluent Bit Kinesis plugin written in C. It has all the core features of the [aws/amazon-kinesis-streams-for-fluent-bit](https://github.com/aws/amazon-kinesis-streams-for-fluent-bit) Golang Fluent Bit plugin released in 2019. The Golang plugin was named `kinesis`; this new high performance and highly efficient kinesis plugin is called `kinesis_streams` to prevent conflicts/confusion.
9
+
This is the documentation for the core Fluent Bit Kinesis plugin written in C. It has all the core features of the [aws/amazon-kinesis-streams-for-fluent-bit](https://github.com/aws/amazon-kinesis-streams-for-fluent-bit) Golang Fluent Bit plugin released in 2019. The original Golang plugin is named `kinesis`, and this new high performance and highly efficient Kinesis plugin is called `kinesis_streams` to prevent conflicts or confusion.
10
10
11
-
Currently, this `kinesis_streams` plugin will always use a random partition key when uploading records to kinesis via the [PutRecords API](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecords.html).
11
+
This `kinesis_streams` plugin always uses a random partition key when uploading records to Kinesis through the [PutRecords API](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecords.html).
12
12
13
-
See [here](https://github.com/fluent/fluent-bit-docs/tree/43c4fe134611da471e706b0edb2f9acd7cdfdbc3/administration/aws-credentials.md) for details on how AWS credentials are fetched.
13
+
For information about how AWS credentials are fetched, see [AWS credentials](../administration/aws-credentials).
14
14
15
-
## Configuration Parameters
15
+
## Configuration parameters
16
16
17
-
| Key | Description |
18
-
|:--- |:--- |
19
-
| region | The AWS region. |
20
-
| stream | The name of the Kinesis Streams Delivery stream that you want log records sent to. |
21
-
|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.|
22
-
|time\_key\_format| strftime compliant format string for the timestamp; for example, the default is '%Y-%m-%dT%H:%M:%S'. Supports millisecond precision with '%3N' and supports nanosecond precision 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.|
23
-
|log\_key| By default, the whole log record will be sent to Kinesis. If you specify a key name with this option, then only the value of that key will be sent to Kinesis. For example, if you are using the Fluentd Docker log driver, you can specify `log_key log` and only the log message will be sent to Kinesis. |
24
-
|role\_arn| ARN of an IAM role to assume \(for cross account access\).|
25
-
| endpoint | Specify a custom endpoint for the Kinesis API. |
26
-
| port | TCP port of the Kinesis Streams service. Defaults to port `443`.|
27
-
|sts\_endpoint| Custom endpoint for the STS API. |
28
-
|auto\_retry\_requests| Immediately retry failed requests to AWS services once. This option does not affect the normal Fluent Bit retry mechanism with backoff. Instead, it enables an immediate retry with no delay for networking errors, which may help improve throughput when there are transient/random networking issues. This option defaults to `true`.|
29
-
|external\_id| Specify an external ID for the STS API, can be used with the role_arn parameter if your role requires an external ID. |
30
-
| profile | AWS profile name to use. Defaults to `default`.|
31
-
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. Default:`1`.|
17
+
| Key | Description | Default |
18
+
| --- |----------- | ------- |
19
+
|`region`| The AWS region.|_none_|
20
+
|`stream`| The name of the Kinesis Streams Delivery stream that you want log records sent to.|_none_|
21
+
|`time_key`| Add the timestamp to the record under this key. |`false`|
22
+
|`time_key_format`|The strftime compliant format string for the timestamp. Supports millisecond precision with `%3N` and supports nanosecond precision 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`. |`%Y-%m-%dT%H:%M:%S`|
23
+
|`log_key`| By default, the whole log record will be sent to Kinesis. If you specify a key name with this option, then only the value of that key will be sent to Kinesis. For example, if you are using the Fluentd Docker log driver, you can specify `log_key log` and only the log message will be sent to Kinesis.|_none_|
24
+
|`role_arn`| ARN of an IAM role to assume (for cross account access). |_none_|
25
+
|`endpoint`| Specify a custom endpoint for the Kinesis API.|_none_|
26
+
|`port`| TCP port of the Kinesis Streams service. |`443`|
27
+
|`sts_endpoint`| Custom endpoint for the STS API.|_none_|
28
+
|`auto_retry_requests`| Immediately retry failed requests to AWS services once. This option doesn't affect the normal Fluent Bit retry mechanism with backoff. Instead, it enables an immediate retry with no delay for networking errors, which might help improve throughput when there are transient/random networking issues. |`true`|
29
+
|`external_id`| Specify an external ID for the STS API, can be used with the `role_arn` parameter if your role requires an external ID.|_none_|
30
+
|`profile`| AWS profile name to use. |`default`|
31
+
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`1`|
32
32
33
-
## Getting Started
33
+
## Get started
34
34
35
-
In order to send records into Amazon Kinesis Data Streams, you can run the plugin from the command line or through the configuration file:
35
+
To send records into Amazon Kinesis Data Streams, you can run the plugin from the command line or through the configuration file.
36
36
37
-
### Command Line
37
+
### Command line
38
38
39
-
The **kinesis\_streams** plugin, can read the parameters from the command line through the **-p** argument \(property\), e.g:
39
+
The `kinesis_streams` plugin can read the parameters from the command line through the `-p`(property) argument. For example:
Our images are available in Amazon ECR Public Gallery. You can download images with different tags by following command:
103
+
The [aws-for-fluent-bit](https://gallery.ecr.aws/aws-observability/aws-for-fluent-bit) container image is available on the Amazon ECR Public Gallery. Use the following command to download images with different tags:
You can check the [Amazon ECR Public official doc](https://docs.aws.amazon.com/AmazonECR/latest/public/get-set-up-for-amazon-ecr.html) for more details.
117
+
You can use the Fluent Bit SSM Public Parameters to find the Amazon ECR image URI in your region:
0 commit comments