AFAIK, the defacto standard tool to sniff USB traffic is Wireshark, which comes with USB PCAP to sniff USB traffic.
From their website:
It is the de facto (and often de jure) standard across many industries and educational institutions.
Wireshark will capture the USB traffic that is redirected to it from USB PCAP. You can
- save the data in *.pcap files
- filter the traffic
- save only displayed data
Wireshark will also nicely decode and highlight the data for you as far as it can. Here's a screenshot from a USB capture on my PC:
To find out the IDs of the USB devices in advance (before using Wireshark), you can use NirSoft USBDeview. It lists all connected devices. Use the x64 version on a 64 bit Windows.
- is also free (but not open source)
- runs on Windows, including Windows 10
- comes without bloatware
- cannot capture data, so you need Wireshark as a companion
Here's a screenshot of USB devices connected to my PC: