Architecture of A Network Monitoring Element