Atlantiraptor Docs

split_records

Type: Plugin · Category: parsers

Parses files by splitting lines into records.

Argument Type Description
filenames list of accessors.OSPath (required) Files to parse.
accessor string The accessor to use
regex string The split regular expression (e.g. a comma, default whitespace)
columns list of string If the first row is not the headers, this arg must provide a list of column names for each value.
first_row_is_headers bool A bool indicating if we should get column names from the first row.
count int Only split into this many columns if possible.
record_regex string A regex to split data into records (default
buffer_size int Maximum size of line buffer (default 64kb).

Required permissions: FILESYSTEM_READ

Platforms: macOS, Linux, Windows

Source: vql/parsers/splitparser.go