Skip to main content

prefect events

Stream events.

prefect events 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 events 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: