mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

Adds base/frameworks/telemetry with wrappers around telemetry.bif and updates telemetry/Manager to support collecting metrics from script land. Add policy/frameworks/telemetry/log for logging of metrics data into a new telemetry.log and telemetry_histogram.log and add into local.zeek by default.
9 lines
543 B
Text
9 lines
543 B
Text
# @TEST-EXEC: ${DIST}/auxil/zeek-aux/plugin-support/init-plugin -u . Demo Unprocessed_Packet
|
|
# @TEST-EXEC: cp -r %DIR/unprocessed-packet-hook-plugin/* .
|
|
# @TEST-EXEC: ./configure --zeek-dist=${DIST} && make
|
|
# @TEST-EXEC: ZEEK_PLUGIN_ACTIVATE="Demo::Unprocessed_Packet" ZEEK_PLUGIN_PATH=`pwd` zeek -c unprocessed.pcap -b -r $TRACES/cisco-fabric-path.pcap %INPUT 2>&1 > output
|
|
# @TEST-EXEC: btest-diff output
|
|
# @TEST-EXEC: hexdump -C unprocessed.pcap > unprocessed.pcap.hex
|
|
# @TEST-EXEC: btest-diff unprocessed.pcap.hex
|
|
|
|
@load base/init-default
|