write_crypto_file
Type: Plugin
Write a query into an encrypted local storage file.
| Argument | Type | Description |
|---|---|---|
filename |
accessors.OSPath (required) | Path to the file to write |
query |
StoredQuery (required) | query to write into the file. |
max_wait |
uint64 | How often to flush the file (default 60 sec). |
max_rows |
uint64 | How many rows to buffer before writing (default 1000). |
max_size |
uint64 | When the file grows to this size, truncate it (default 1Gb). |
Required permissions: FILESYSTEM_WRITE
Platforms: macOS, Linux, Windows
Source: vql/server/crypto/writer.go