Skip to main content
Version: v4.21

load

The load operator acquires raw bytes from a connector.

Synopsis

load <url>
load <path>
load <connector>

Description

The load operator emits raw bytes.

Notably, it cannot be used together with operators that expect events as input, but rather only with operators that expect bytes, e.g., read or save.

<connector>

The connector used to load bytes.

Some connectors have connector-specific options. Please refer to the documentation of the individual connectors for more information.

Examples

Read bytes from stdin:

load stdin

Read bytes from the URL https://example.com/file.json:

load https://example.com/file.json
load https example.com/file.json

Read bytes from the file path/to/eve.json:

load path/to/eve.json
load file path/to/eve.json