Heka TSV (tab separated values) Helper Functions
1. Functions
1.1. esc_str
Arguments
- s (string) - string to escape
- schema (table) - schema table
Return
- es (string) - escaped string
1.2. write message
Apply the schema and write the formatted message to disk.
Arguments
- fh (userdata) - file handle
- schema (table) - schema table
- nil_value (string/number) - value to be output when a column is NIL
Return
- none
source code: tsv.lua