Hi Jackson,
Thanks for posting in Q&A platform.
Regarding of collecting network traffic, I would suggest you could use Network Monitor to collect, for more details about how to use Network Monitor, you could refer to the detailed steps in following article.
Collect data using Network Monitor
Meanwhile, you could use some third party products like DSPatrick's recommendation-- Wireshark. For more details of how to use Wireshark, please refer to the following article:
https://www.wireshark.org/docs/wsug_html_chunked/ChapterCapture.html
And also, there are some other 3rd party tools for your reference:
Get in-depth traffic insights with our network traffic analysis tool.
Please Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Sunny
----------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.