write_jsonl
Type: Plugin
Write a query into a JSONL file.
| Argument | Type | Description |
|---|---|---|
filename |
accessors.OSPath (required) | JSONL files to open |
accessor |
string | The accessor to use |
query |
StoredQuery (required) | query to write into the file. |
buffer_size |
int | Maximum size of buffer before flushing to file. |
max_time |
int | Maximum time before flushing the buffer (10 sec). |
append |
bool | Append JSONL records to existing file. |
Required permissions: FILESYSTEM_WRITE
Platforms: macOS, Linux, Windows
Source: vql/parsers/json.go