Connectors
A connector specifies how to exchange raw bytes with an underlying resource, such as a file, a network socket, or a third-party library. A connector provides a loader and/or saver:
- Loader: translates raw bytes into structured event data
- Saver: translates structured events into raw bytes
Loaders and savers interact with their corresponding dual from a format:
Connectors appear as an argument to the from
and
to
operators:
from <connector> [read <format>]
to <connector> [write <format>]
VAST ships with the following connectors:
📄️ -
The dash connector (written as -) is an alias for the stdin
📄️ directory
Saves bytes to one file per schema into a directory.
📄️ file
Loads bytes from a file. Saves bytes to a file.
📄️ stdin
The stdin loader is a shorthand for file with argument -.
📄️ stdout
The stdout saver is a shorthand for file with argument -.