Skip to content

Commit

Permalink
Update pipeline/parsers/configuring-parser.md
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Locke <[email protected]>
Signed-off-by: Jakob Joachim <[email protected]>
  • Loading branch information
jakobjoachim and lockewritesdocs committed Nov 8, 2024
1 parent bc6beb3 commit 42ea0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/parsers/configuring-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Multiple parsers can be defined and each section has it own properties. The foll
| Format | Specify the format of the parser, the available options here are: [json](json.md), [regex](regular-expression.md), [ltsv](ltsv.md) or [logfmt](logfmt.md). |
| Regex | If format is _regex_, this option _must_ be set specifying the Ruby Regular Expression that will be used to parse and compose the structured message. |
| Time\_Key | If the log entry provides a field with a timestamp, this option specifies the name of that field. |
| Time\_Format | Specify the format of the time field so it can be recognized and analyzed properly. Fluent-bit uses `strptime(3)` to parse time so you can refer to [strptime documentation](https://linux.die.net/man/3/strptime) for available modifiers. In addition **%L** is available for Fractional Seconds. |
| Time\_Format | Specify the format of the time field so it can be recognized and analyzed properly. Fluent Bit uses `strptime(3)` to parse time. See the [strptime documentation](https://linux.die.net/man/3/strptime) for available modifiers. The **%L** field descriptor is supported for fractional seconds. |
| Time\_Offset | Specify a fixed UTC time offset \(e.g. -0600, +0200, etc.\) for local dates. |
| Time\_Keep | By default when a time key is recognized and parsed, the parser will drop the original time field. Enabling this option will make the parser to keep the original time field and it value in the log entry. |
| Time\_System\_Timezone | If there is no timezone (`%z`) specified in the given `Time_Format`, enabling this option will make the parser detect and use the system's configured timezone. The configured timezone is detected from the [`TZ` environment variable](https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html). |
Expand Down

0 comments on commit 42ea0b1

Please sign in to comment.