Skip to main content

prefect event

Stream events.

prefect event stream

Subscribe to the event stream, printing each event as it is received.

Options

Output format (json or text)
File to write events to
Stream events for entire account, including audit logs
Stream only one event

prefect event emit

Emit a single event to Prefect.

Arguments

string
required

Options

Resource specification as ‘key=value’ or JSON. Can be used multiple times.
The resource ID (shorthand for —resource prefect.resource.id=<id>)
Related resources as JSON string
Event payload as JSON string
Example: