subscribe
Subscribes to events from a channel with a topic. The dual to
publish
.
Synopsis
subscribe [<topic>]
Description
The subscribe
operator subscribes to events from a channel with the specified
topic. Multiple subscribe
operators with the same topic receive the same
events.
<topic>
An optional topic identifying the channel events are published under.
Examples
Subscribe to the events under the topic zeek-conn
:
subscribe zeek-conn