mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
cluster/telemetry: Move topic_normalization redef to zeromq
This commit is contained in:
parent
22958f7cdf
commit
26f5166d7a
2 changed files with 4 additions and 1 deletions
|
@ -257,6 +257,10 @@ function zeromq_nodeid_topic(id: string): string {
|
|||
return nodeid_topic_prefix + "." + id + ".";
|
||||
}
|
||||
|
||||
redef Cluster::Telemetry::topic_normalizations += {
|
||||
[/^zeek\.cluster\.nodeid\..*/] = "zeek.cluster.nodeid.__normalized__",
|
||||
};
|
||||
|
||||
# Unique identifier for this node with some debug information.
|
||||
const my_node_id = fmt("zeromq_%s_%s_%s_%s", Cluster::node, gethostname(), getpid(), unique_id("N"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue