Formatters

"Formatters" are special kind of objects (of type IRowsFormatter) that contain the logic of data parse.

Name and Description
clef(): object<IRowsFormatter>

Compact log event formatter (CLEF).
csv(has_header?: boolean): object<IRowsFormatter>

Comma separated values (CSV) format.
iisw3c(): object<IRowsFormatter>

IIS W3C log files formatter.
grok(pattern: string): object<IRowsFormatter>

Grok expression formatter.
json(): object<IRowsFormatter>

JSON formatter.
regex(pattern: string, flags?: string): object<IRowsFormatter>

Regular expression formatter.
text_line(): object<IRowsFormatter>

Text line formatter.
tsv(has_header?: boolean): object<IRowsFormatter>

Tab separated values (TSV) format.
xml(): object<IRowsFormatter>

XML formatter.