Network data collection framework