Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to convert TCP flows in .pcap file to .csv file

With the command:

tshark -r <file.pcap> -q -z conv,tcp > tcp.conv

I can take the TCP flows in a .pcap file and convert it to a .conv file. However, I am trying to automate capture analysis and this format makes it rather inconvenient for me. Is there a way to convert flows like above into a .csv file instead such that the values are separated by a common delimiter?