Atlantiraptor Docs

watch_csv

Type: Plugin · Category: event

Watch a CSV file and stream events from it. Note: This is an event plugin which does not complete.

This plugin is the event version of parse_csv(). When the CSV file grows this plugin will emit the new rows.

Argument Type Description
filename list of accessors.OSPath (required) CSV files to open
accessor string The accessor to use
auto_headers bool If unset the first row is headers
separator string Comma separator (default ‘,’)
comment string The single character that should be considered a comment
columns list of string The columns to use

Required permissions: FILESYSTEM_READ

Platforms: macOS, Linux, Windows

Source: vql/parsers/csv/csv.go