SeisoLLC / zeek-kafka

A Zeek log writer plugin that publishes to Kafka.
Apache License 2.0
45 stars 15 forks source link

Error in Sending logs #36

Closed cybersecurity99 closed 2 years ago

cybersecurity99 commented 2 years ago

Summary of the issue

... It is not sending logs also It can't find package

Expected behavior

... Should send logs

Steps to reproduce

... Install librdkafka, a native client library for Kafka. This plugin has been tested against librdkafka v1.4.2.

In order to use this plugin within a kerberized Kafka environment, you will also need libsasl2 installed and will need to pass --enable-sasl to the configure script.

$ curl -L https://github.com/edenhill/librdkafka/archive/v1.4.2.tar.gz | tar xvz $ cd librdkafka-1.4.2/ $ ./configure --enable-sasl $ make $ sudo make install Build the plugin using the following commands.

$ ./configure --with-librdkafka=$librdkafka_root --zeek-dist=/home/ashok/zeek $ make $ sudo make install $ ldconfig Run the following command to ensure that the plugin was installed successfully.

$ zeek -N Seiso::Kafka Seiso::Kafka - Writes logs to Kafka (dynamic, version 1.0.0)

I am able to complete all steps till now

Logs, errors, etc.

... But when i run zeekctl deploy , I get error as fatal error in /usr/local/zeek/share/zeek/site/local.zeek, line 110: can't find packages/zeek-kafka

Also I can't find any package folder So I did this @load /usr/local/zeek/lib/zeek/plugins/SEISO_KAFKA/scripts I don't know this path is right or wrong because I am not getting packages/zeek-kafka I can see logs created in current folder

Your environment