base/frameworks/cluster/publish-on-change.zeek
- Cluster
Supporting script code for the &publish_on_change attribute.
- Namespace:
Cluster
- Imports:
Summary
Redefinable Options
Default number of |
Functions
Publish the given table_val using multiple |
Detailed Interface
Redefinable Options
- Cluster::default_publish_table_batch_size
-
Default number of
Cluster::TableChangeInforecords to use withCluster::publish_table.
Functions
- Cluster::publish_table
- Type:
function(topic:string, table_val:any, batch_size:count&default=Cluster::default_publish_table_batch_size&optional) :bool
Publish the given table_val using multiple
Cluster::table_change_infosevent to the given topic.- Parameters:
topic – The topic to publish the
Cluster::table_change_infosevent to. Usually this is created withCluster::node_topicorCluster::nodeid_topic.table_val – The table to publish. Must have a
&publish_on_changeattribute.batch_size – Number of
Cluster::TableChangeInforecords to use per event.