Skip to main content
Version: v4.18


Publishes events to a channel with a topic. The dual to subscribe.


publish [<topic>]


The publish operator publishes events at a node in a channel with the specified topic. Any number of subscribers using the subscribe operator receive the events immediately.

Note that the publish operator does not guarantee that events stay in their original order.


An optional topic for publishing events under.

Defaults to the empty string.


Publish Zeek conn logs under the topic zeek-conn.

from file conn.log read zeek-tsv | publish zeek-conn