A Big Data and machine learning approach for network monitoring and security