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
Copy file name to clipboardExpand all lines: pipeline/outputs/http.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The plugin supports the following configuration parameters:
25
25
|`allow_duplicated_headers`| Specify if duplicated headers are allowed. If a duplicated header is found, the latest key/value set is preserved. |`true`|
26
26
|`log_response_payload`| Specify if the response payload should be logged or not. |`true`|
27
27
|`header_tag`| Specify an optional HTTP header field for the original message tag. |_none_|
28
-
|`http_method`| Specify POST vs PUT HTTP Method. |`POST`|
28
+
|`http_method`| Specify `POST` versus `PUT` HTTP Method. |`POST`|
29
29
|`header`| Add a HTTP header key/value pair. Multiple headers can be set. |_none_|
30
30
|`json_date_key`| Specify the name of the time key in the output record. To disable the time key, set the value to `false`. |`date`|
31
31
|`json_date_format`| Specify the format of the date. Supported formats: `double`, `epoch`, `iso8601`, `java_sql_timestamp`. |`double`|
Copy file name to clipboardExpand all lines: pipeline/outputs/output_formats.md
+23-30Lines changed: 23 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,20 @@
1
-
# Output Formats
1
+
# Output formats
2
2
3
-
Some of the output plugin's has a config field called `formats`, with a limited
4
-
amount of options are available (`json`, `json_stream`, `json_lines`, `msgpack`, `gelf`).
3
+
Some of the output plugin's has a configuration field called `formats`, with a limited amount of options are available (`json`, `json_stream`, `json_lines`, `msgpack`, `gelf`).
5
4
6
-
The specifications, or reference to external documentation of the formats, is
7
-
available in this page.
5
+
The specifications, or reference to external documentation of the formats, is available in this page.
8
6
9
-
## JSON Formats
7
+
## JSON formats
10
8
11
-
The most custom format options are the JSON types, these are three quite
12
-
common variants of sending JSON encoded data over various API's.
9
+
The most custom format options are the JSON types. The following are common variants of sending JSON encoded data over various APIs.
13
10
14
-
The example payloads below, are all "prettified" for readability.
11
+
The following example payloads are modified for readability.
15
12
16
-
_Records shown in example payloads, are the three first commits of the fluent-bit repository_
13
+
Records shown in example payloads are the three first commits of the Fluent Bit repository.
17
14
18
-
### json
15
+
### `json`
19
16
20
-
Queued records encoded as a single JSON array of JSON encoded fluent-bit records.
17
+
Queued records encoded as a single JSON array of JSON encoded Fluent Bit records.
21
18
22
19
#### Example payload
23
20
@@ -44,13 +41,13 @@ Queued records encoded as a single JSON array of JSON encoded fluent-bit records
44
41
]
45
42
```
46
43
47
-
### json_stream
44
+
### `json_stream`
48
45
49
46
_a.k.a. Concatenated JSON_
50
47
51
-
Queued JSON-encoded fluent-bit records, with no separator between records.
48
+
Queued JSON-encoded Fluent Bit records, with no separator between records.
52
49
53
-
#### Example payload
50
+
#### Example `json_stream`payload
54
51
55
52
```json
56
53
{
@@ -71,13 +68,13 @@ Queued JSON-encoded fluent-bit records, with no separator between records.
71
68
}
72
69
```
73
70
74
-
### json_lines
71
+
### `json_lines`
75
72
76
-
_a.k.a. Newline-Delimited JSON_
73
+
Also known as newline-delimited JSON.
77
74
78
-
Queued JSON-encoded fluent-bit records, separated by line-breaks (`\n`).
75
+
Queued JSON-encoded Fluent Bit records, separated by line-breaks (`\n`).
0 commit comments