ltsv
The ltsv
parser plugin parses LTSV format.
Parameters
See Parse Section Configurations.
delimiter
delimiter
type | default | version |
string |
| 0.14.0 |
The delimiter (character or string) separating LTSV values.
delimiter_pattern
delimiter_pattern
type | default | version |
regexp | nil | 1.2.0 |
The delimiter pattern of TSV values. This parameter overwrites delimiter
parameter if specified.
delimiter_pattern
is string type before 1.2.0.
label_delimiter
label_delimiter
type | default | version |
string | : | 0.14.0 |
The delimiter character between field name and value.
Example for LTSV
This incoming event:
is parsed as:
If you set null_value_pattern '-'
in the configuration, user
field becomes nil
instead of "-"
.
Example with delimiter_pattern
delimiter_pattern
With this configuration:
This incoming event:
is parsed as:
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated