Data analytics for network intrusion detection