How to collect flows or how to install pmacct with kafka and nDPI support
You need a flow probe, a program that can create flows. The flows are sent to a flow collector, a program that – guess what – collects flows. Here, I’ll […]
You need a flow probe, a program that can create flows. The flows are sent to a flow collector, a program that – guess what – collects flows. Here, I’ll […]
https://gist.github.com/sallos-cyber/92bc3666b6228925c5798dc296171ab3#file-birthdayexample-ipynb BirthdayExample How large is the probability that there are at least two people in a group of k people whose birthday is on the same day? Thus, the event
Goal is to read about kafka and the kafka streaming. Do I have kafka installed here? No, but on the VirtualMachine on the disk But much nicer would be to
https://gist.github.com/sallos-cyber/c57d616a1dab051b4d57e70d36fb920b#file-binomialdistributionexample-ipynb BinomialDistributionExample In [1]: from scipy.stats import binom import matplotlib.pyplot as plt # experiment: 10 balls, 7 are white and 3 black # we pick a ball 10 times with replacement
Python’s matplotlib offers two interfaces, one is object oriented and the other sth else. I keep forgetting which is which and how to use it. Every single time I need