Prozzie, the Wizzie Data Platform Collector

View the Project on GitHub

This project is maintained by wizzie-io

Hosted on GitHub Pages — Theme by orderedlist

Improve this page

Flow protocols

Netflow

Netflow using included f2k

In order to setup netflow in prozzie, you need to add all netflow probes to NETFLOW_PROBES env variable, using the format described in f2k readme.

For example:

NETFLOW_PROBES='{"sensors_networks":{"127.0.0.1":{"observations_id":{"default":{}}}}}'

To configure netflow probe, please use prozzie config command over a valid prozzie installation:

prozzie config setup f2k
NETFLOW_PROBES
Netflow probes to expect netflow from, following the format described in f2k readme.
NETFLOW_KAFKA_TOPIC
Topic to produce netflow traffic. If you want flow treatment, it’s better to use the flow default.

You can check that messages are properly delivered using prozzie kafka consume <your-netflow-topic>.

Netflow using nfacctd

You can use you pmacct nfacctd flow collector if you provide it with a config file provided in pmacctd. You have to remember to use sfacctd_renormalize instead of pmacctd_renormalize, and no interface.

sflow

Sflow support is provided via pmacct sflow sfacctd accounting daemon:

prozzie config setup sfacctd

You will be asked about these variables:

SFLOW_KAFKA_TOPIC
Topic to produce sflow traffic. Need to let it by default if you want proper indexing.
SFLOW_RENORMALIZE
Normalize sflow byte/packet counter based on sflow packet sampling rate. Check the pmacct Oficial Config Keys for more info.

SFLOW_AGGREGATE :Fields/dimensions to send in each event. The more fields you send, the more memory and CPU will sfacctd use.

In order to use your own sfacctd outside prozzie, you can configure it to send to wizzie prozzie, following a configuration found in pmacctd, but using sfacctd_renormalize instead of pmacctd_renormalize, and no interface.

You can check that messages are properly delivered using prozzie kafka consume <your-sflow-topic>.

pmacctd

You can use your own pmacctd probe installation to avoid sflow/netflow conversion. You only need to configure it to send to prozzie kafka, to sflow topic:

interface: <interface to monitor>
sampling_rate: 1

plugins: kafka

timestamps_since_epoch: true
timestamps_secs: true

kafka_output: json
kafka_broker_host: <prozzie public IP address>
kafka_broker_port: 9092
kafka_topic: pmacct
pmacctd_renormalize: true