Hello All, I have been trying to capture a wireshark trace from tshark but i need to capture the output in CSV directly instead of first saving in pcap and then converting it. Could anyone help here in this case? I have already used this command but it doesnt seem to help here tshark.exe -r "C:\aa_00001_20150826125423.pcap" -T fields -e frame.number -e frame.time -e eth.src -e eth.dst -e ip.src -e ip.dst -e ip.proto -e _ws.col.info -E header=y -E separator=, -E quote=d -E occurrence=f > "C:\test11.csv" asked 26 Aug '15, 02:52 rahul527 edited 26 Aug '15, 04:58 |
One Answer:
The command you are using is to read an existing .pcap file, whereas your question is about creating a new capture file as a .csv? This works completely fine for me(Tested on Linux):
The output looks like this:
The -r argument you used is exclusively for reading existing files. Edit: Also in your code the Hope this helps, let me know if you need a hand with anything else. :) answered 27 Aug '15, 14:07 tbm edited 27 Aug '15, 14:31 |
What is your problem exactly with this command?