mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
![]() This change adds two new hooks to the Intel framework that can be used to intercept added and removed indicators and their type. These hooks are fairly low-level. One immediate use-case is to count the number of indicators loaded per Intel::Type and enable and disable the corresponding event groups of the intel/seen scripts. I attempted to gauge the overhead and while it's definitely there, loading a file with ~500k DOMAIN entries takes somewhere around ~0.5 seconds hooks when populated via the min_data_store store mechanism. While that doesn't sound great, it actually takes the manager on my system 2.5 seconds to serialize and Cluster::publish() the min_data_store alone and its doing that serially for every active worker. Mostly to say that the bigger overhead in that area on the manager doing redundant work per worker. Co-authored-by: Mohan Dhawan <mohan@corelight.com> |
||
---|---|---|
.. | ||
addr-indicator.manager..stdout | ||
addr-indicator.worker-1..stdout | ||
addr-indicator.worker-2..stdout | ||
software-indicator.manager..stdout | ||
software-indicator.worker-1..stdout | ||
software-indicator.worker-2..stdout | ||
subnet-indicator.manager..stdout | ||
subnet-indicator.worker-1..stdout | ||
subnet-indicator.worker-2..stdout |