sample tool to capture network data