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
Indentation for Parsers section code examples in docs need to be 2 space standardized. Fixes#1967. (#1968)
* Fixing code example indent standards for configuring parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixing code example indent standards for decoders parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixing code example indent standards for json parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixing code example indent standards for logfmt parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixing code example indent standards for LTSV parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixing code example indent standards for LTSV parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
* Fixing code example indent standards for regular expression parser doc. Part of issue #1967.
Signed-off-by: Eric D. Schabell <[email protected]>
---------
Signed-off-by: Eric D. Schabell <[email protected]>
Copy file name to clipboardExpand all lines: pipeline/parsers/configuring-parser.md
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,8 @@ Multiple parsers can be defined and each section has it own properties. The foll
38
38
|`Time_Keep`| If enabled, when a time key is recognized and parsed, the parser will keep the original time key. If disabled, the parser will drop the original time field. |
39
39
|`Time_System_timezone`| If there is no time zone (`%z`) specified in the given `Time_Format`, enabling this option will make the parser detect and use the system's configured time zone. The configured time zone is detected from the [`TZ` environment variable](https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html). |
40
40
|`Types`| Specifies the data type of parsed field. The syntax is `types <field_name_1>:<type_name_1> <field_name_2>:<type_name_2> ...`. The supported types are `string` (default), `integer`, `bool`, `float`, `hex`. The option is supported by `ltsv`, `logfmt` and `regex`. |
41
-
|`Decode_Field`| If the content can be decoded in a structured message, append the structured message (keys and values) to the original log message. Decoder types: `json`, `escaped`, `escaped_utf8`. The syntax is: `Decode_Field <decoder_type> <field_name>`. See [Decoders](pipeline/parsers/decoders.md) for additional information. |
42
-
|`Decode_Field_As`| Any decoded content (unstructured or structured) will be replaced in the same key/value, and no extra keys are added. Decoder types: `json`, `escaped`, `escaped_utf8`. The syntax is: `Decode_Field_As <decoder_type> <field_name>`. See [Decoders](pipeline/parsers/decoders.md) for additional information. |
41
+
|`Decode_Field`| If the content can be decoded in a structured message, append the structured message (keys and values) to the original log message. Decoder types: `json`, `escaped`, `escaped_utf8`. The syntax is: `Decode_Field <decoder_type> <field_name>`. See [Decoders](decoders.md) for additional information. |
42
+
|`Decode_Field_As`| Any decoded content (unstructured or structured) will be replaced in the same key/value, and no extra keys are added. Decoder types: `json`, `escaped`, `escaped_utf8`. The syntax is: `Decode_Field_As <decoder_type> <field_name>`. See [Decoders](decoders.md) for additional information. |
43
43
|`Skip_Empty_Values`| Specifies a boolean which determines if the parser should skip empty values. The default is `true`. |
44
44
|`Time_Strict`| The default value (`true`) tells the parser to be strict with the expected time format. With this option set to false, the parser will be permissive with the format of the time. You can use this when the format expects time fraction but the time to be parsed doesn't include it. |
45
45
@@ -52,40 +52,40 @@ All parsers must be defined in a parsers file (see below for examples), not in t
0 commit comments