Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

TSV Parser Plugin

The tsv parser plugin parses TSV format.

Table of Contents


See Parse section configurations


type default version
array of string required parameter 0.14.9

Names of fields included in each lines.


type default version
string “\t” 0.14.0

The delimiter character (or string) of TSV values.


  @type tsv
  keys time,host,req_id,user
  time_key time

With this configuration:

2013/02/28 12:00:00\t192.168.0.1\t111\t-

This incoming event is parsed as:

1362020400 (2013/02/28/ 12:00:00)

  "host"   : "",
  "req_id" : "111",
  "user"   : "-"

If you set null_value_pattern '-' in the configuration, user field becomes nil instead of "-".

Last updated: 2019-03-19 08:14:52 +0000

Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is a open source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.