Just setup a zeek cluster using zeek 5.0.0. On Ubunto 20.04
Have the main system running the manager, proxy, and logger.
Collection system is configured for four workers.
Have the following output showing status of the systems:
[ZeekControl] > status
Name Type Host Status Pid Started
logger-1 logger elkstack.hollywood.local running 406359 23 Aug 19:55:27
manager manager elkstack.hollywood.local running 406418 23 Aug 19:55:28
proxy-1 proxy elkstack.hollywood.local running 406467 23 Aug 19:55:30
worker-zeek-ch-1 worker zeek-ch.hollywood.local running 15193 23 Aug 19:55:31
worker-zeek-ch-2 worker zeek-ch.hollywood.local running 15192 23 Aug 19:55:31
worker-zeek-ch-3 worker zeek-ch.hollywood.local running 15191 23 Aug 19:55:31
worker-zeek-ch-4 worker zeek-ch.hollywood.local running 15194 23 Aug 19:55:31
[ZeekControl] >
[ZeekControl] > capstats
Interface kpps mbps (10s average)
zeek-ch.hollywood.local/enp1s0f0np0 17.3 106.9
[ZeekControl] > netstats
worker-zeek-ch-1: 1661285242.494510 recvd=12810030 dropped=113 link=12810247
worker-zeek-ch-2: 1661285242.509398 recvd=12810283 dropped=65 link=12810550
worker-zeek-ch-3: 1661285242.524727 recvd=12810659 dropped=65 link=12810848
worker-zeek-ch-4: 1661285242.538205 recvd=12810710 dropped=26 link=12810812
[ZeekControl] > peerstatus
logger-1
1661285299.311641 peer=afa392dd-d474-5446-9533-1d6d78276345 host=10.1.5.104 status=Broker::CONNECTED
1661285299.311641 peer=b67a71bf-0cce-59f1-a7ba-2820a1766c2a host=10.1.5.104 status=Broker::CONNECTED
1661285299.311641 peer=7cc7782d-702d-5cf0-a878-ca40e6aef42d host=10.1.5.104 status=Broker::CONNECTED
manager
1661285299.326808 peer=003723c7-649b-5237-892c-b133599a70c1 host=10.1.5.104 status=Broker::CONNECTED
1661285299.326808 peer=b67a71bf-0cce-59f1-a7ba-2820a1766c2a host=10.1.5.104 status=Broker::CONNECTED
1661285299.326808 peer=928fb345-d118-536b-9be7-be0951dbc745 host=10.1.5.104 status=Broker::CONNECTED
proxy-1
1661285299.342610 peer=7f0a13e6-dd4f-5fa5-a571-3075f1d3a08b host=10.1.5.104 status=Broker::CONNECTED
1661285299.342610 peer=7cc7782d-702d-5cf0-a878-ca40e6aef42d host=10.1.5.104 status=Broker::CONNECTED
1661285299.342610 peer=928fb345-d118-536b-9be7-be0951dbc745 host=10.1.5.104 status=Broker::CONNECTED
worker-zeek-ch-1
1661285299.354560 peer=62c80d70-1840-50b4-bc6b-524db782bc75 host=10.1.161.104 status=Broker::CONNECTED
1661285299.354560 peer=4462e147-dc1a-5dbf-954d-bdc2bb22f69c host=10.1.161.104 status=Broker::CONNECTED
worker-zeek-ch-2
1661285299.370548 peer=4ce0d0b2-c666-57d7-9072-428566dbe340 host=10.1.161.104 status=Broker::CONNECTED
1661285299.370548 peer=4f505812-0af6-5470-a407-1d5beb4bd197 host=10.1.161.104 status=Broker::CONNECTED
worker-zeek-ch-3
1661285299.384764 peer=2a89be73-6a97-509f-81a1-dcb00c479324 host=10.1.161.104 status=Broker::CONNECTED
1661285299.384764 peer=67a0f57f-e5f2-5c12-80de-6d890a98d85b host=10.1.161.104 status=Broker::CONNECTED
worker-zeek-ch-4
1661285299.400222 peer=e56a3030-05dc-5f81-a209-794ac90f4378 host=10.1.161.104 status=Broker::CONNECTED
1661285299.400222 peer=ef7bc908-ca13-522c-af3d-0691c222e009 host=10.1.161.104 status=Broker::CONNECTED
[ZeekControl] >
It all looks like it should be working. However I am not getting any logs generated other than the following:
root@elkstack:/opt/zeek/logs/current# ls -l
total 16
-rw-rw-r-- 1 zeek zeek 760 Aug 23 20:08 broker.log
-rw-rw-r-- 1 zeek zeek 1483 Aug 23 20:11 reporter.log
-rw-rw-r-- 1 zeek zeek 1360 Aug 23 20:10 stats.log
-rw-rw-r-- 1 zeek zeek 0 Aug 23 19:55 stderr.log
-rw-rw-r-- 1 zeek zeek 188 Aug 23 19:55 stdout.log
root@elkstack:/opt/zeek/logs/current#
The stats.log file appears show packets collected. But no log files created.
root@elkstack:/opt/zeek/logs/current# cat stats.log
#separator \x09
#set_separator ,
#empty_field (empty)
#unset_field -
#path stats
#open 2022-08-23-20-00-27
#fields ts peer mem pkts_proc bytes_recv pkts_dropped pkts_link pkt_lag events_proc events_queued active_tcp_conns active_udp_conns active_icmp_conns tcp_conns udp_conns icmp_conns timers active_timers files active_files dns_requests active_dns_requests reassem_tcp_sizereassem_file_size reassem_frag_size reassem_unknown_size
#types time string count count count count count interval count count count count count count count count count count count count count count count count count count
1661284827.733631 logger-1 108 0 0 - - - 826 340 0 0 00 0 0 1687 45 0 0 0 0 0 0 0 0
1661284829.131527 manager 110 0 0 - - - 826 345 0 0 0 00 0 1506 49 0 0 0 0 0 0 0 0
1661284830.531431 proxy-1 108 0 0 - - - 826 340 0 0 0 00 0 1385 44 0 0 0 0 0 0 0 0
1661285127.734043 logger-1 108 0 0 - - - 331 333 0 0 00 0 0 1683 45 0 0 0 0 0 0 0 0
1661285129.131942 manager 110 0 0 - - - 342 341 0 0 0 00 0 1508 52 0 0 0 0 0 0 0 0
1661285130.531945 proxy-1 108 0 0 - - - 331 333 0 0 0 00 0 1382 43 0 0 0 0 0 0 0 0
1661285427.734219 logger-1 108 0 0 - - - 339 337 0 0 00 0 0 1685 47 0 0 0 0 0 0 0 0
1661285429.132044 manager 110 0 0 - - - 341 341 0 0 0 00 0 1501 48 0 0 0 0 0 0 0 0
1661285430.532142 proxy-1 108 0 0 - - - 338 337 0 0 0 00 0 1384 44 0 0 0 0 0 0 0 0
root@elkstack:/opt/zeek/logs/current#
After a while (hours) the worker processes crash.
Any ideas on what was missed during setup?
Thank you.