Skip to content

Commit 71039fb

Browse files
committed
pack: output: added java_sql_timestamp, a format string used by amazon athena
Signed-off-by: Marcos Diez <[email protected]>
1 parent 9b18f82 commit 71039fb

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

pipeline/outputs/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The **http** output plugin allows to flush your records into a HTTP endpoint. Fo
1919
| header\_tag | Specify an optional HTTP header field for the original message tag. | |
2020
| header | Add a HTTP header key/value pair. Multiple headers can be set. | |
2121
| json\_date\_key | Specify the name of the time key in the output record. To disable the time key just set the value to `false`. | date |
22-
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_ and _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) | double |
22+
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | double |
2323
| gelf\_timestamp\_key | Specify the key to use for `timestamp` in _gelf_ format | |
2424
| gelf\_host\_key | Specify the key to use for the `host` in _gelf_ format | |
2525
| gelf\_short\_message\_key | Specify the key to use as the `short` message in _gelf_ format | |

pipeline/outputs/s3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ See [here](https://github.com/fluent/fluent-bit-docs/tree/43c4fe134611da471e706b
2323
| region | The AWS region of you S3 bucket | us-east-1 |
2424
| bucket | S3 Bucket name | None |
2525
| json_date_key | Specify the name of the time key in the output record. To disable the time key just set the value to `false`. | date |
26-
| json_date_format | Specify the format of the date. Supported formats are _double_, _epoch_ and _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) | iso8601 |
26+
| json_date_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | iso8601 |
2727
| total_file_size | Specifies the size of files in S3. Maximum size is 50G, minimim is 1M. | 100M |
2828
| upload_chunk_size | The size of each 'part' for multipart uploads. Max: 50M | 5,242,880 bytes |
2929
| upload_timeout | Whenever this amount of time has elapsed, Fluent Bit will complete an upload and create a new file in S3. For example, set this value to 60m and you will get a new file every hour. | 10m |

pipeline/outputs/standard-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The **stdout** output plugin allows to print to the standard output the data rec
88
| :--- | :--- | :--- |
99
| Format | Specify the data format to be printed. Supported formats are _msgpack_ _json_, _json\_lines_ and _json\_stream_. | msgpack |
1010
| json\_date\_key | Specify the name of the time key in the output record. To disable the time key just set the value to `false`. | date |
11-
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_ and _iso8601_ \(eg: _2018-05-30T09:39:52.000681Z_\) | double |
11+
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | double |
1212
| Workers | Enables dedicated thread(s) for this output. Default value is set since version 1.8.13. For previous versions is 0. | 1 |
1313

1414
### Command Line

pipeline/outputs/tcp-and-tls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The **tcp** output plugin allows to send records to a remote TCP server. The pay
1010
| Port | TCP Port of the target service. | 5170 |
1111
| Format | Specify the data format to be printed. Supported formats are _msgpack_ _json_, _json\_lines_ and _json\_stream_. | msgpack |
1212
| json\_date\_key | Specify the name of the time key in the output record. To disable the time key just set the value to `false`. | date |
13-
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_ and _iso8601_ \(eg: _2018-05-30T09:39:52.000681Z_\) | double |
13+
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | double |
1414
| Workers | Enables dedicated thread(s) for this output. Default value is set since version 1.8.13. For previous versions is 0. | 2 |
1515

1616
## TLS Configuration Parameters

pipeline/outputs/websocket.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The **websocket** output plugin allows to flush your records into a WebSocket en
1111
| URI | Specify an optional HTTP URI for the target websocket server, e.g: /something | / |
1212
| Format | Specify the data format to be used in the HTTP request body, by default it uses _msgpack_. Other supported formats are _json_, _json\_stream_ and _json\_lines_ and _gelf_. | msgpack |
1313
| json\_date\_key | Specify the name of the date field in output | date |
14-
| json\_date\_format | Specify the format of the date. Supported formats are _double_ and _iso8601_ \(eg: _2018-05-30T09:39:52.000681Z_\) | double |
14+
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | double |
1515

1616
## Getting Started
1717

@@ -49,7 +49,7 @@ In your main configuration file, append the following _Input_ & _Output_ section
4949
Format json
5050
```
5151

52-
Websocket plugin is working with tcp keepalive mode, please refer to [networking](https://docs.fluentbit.io/manual/v/master/administration/networking#configuration-options) section for details. Since websocket is a stateful plugin, it will decide when to send out handshake to server side, for example when plugin just begins to work or after connection with server has been dropped. In general, the interval to init a new websocket handshake would be less than the keepalive interval. With that stratgy, it could detect and resume websocket connetions.
52+
Websocket plugin is working with tcp keepalive mode, please refer to [networking](https://docs.fluentbit.io/manual/v/master/administration/networking#configuration-options) section for details. Since websocket is a stateful plugin, it will decide when to send out handshake to server side, for example when plugin just begins to work or after connection with server has been dropped. In general, the interval to init a new websocket handshake would be less than the keepalive interval. With that stratgy, it could detect and resume websocket connetions.
5353

5454

5555
## Testing

0 commit comments

Comments
 (0)