mkmostafa
mkmostafa

Reputation: 3171

Export RTP statistics from wireshark/tshark into XML or CSV

Basically I would like to export the analysics of wireshark to RTP streams into CSV or XML format to read it again for some tests. I can do the following using tshark through command line.

tshark -r rtp.pcap -q -z rtp,streams

Is there a way to specify and output file and it's format? If there's a way to do this through wireshark directly, it's welcome.

Note: what need to store is the overall statistics of all the streams not the detailed one per each stream.

Upvotes: 0

Views: 1436

Answers (2)

user684451
user684451

Reputation:

Wireshark
Go to Telephony -> RTP -> Show All Streams
You can copy the values to the clipboard in CSV.

See also Wireshark Wiki

Upvotes: 0

Andrew Chisholm
Andrew Chisholm

Reputation: 6567

You can save the output to a text file using the redirect operator. i.e. > output.txt. This is very basic and difficult to parse but unfortunately, there does not seem to be any way to control the format of the output. The -T -E -e combination outputs details from each packet and the -w option outputs a raw file.

Upvotes: 1

Related Questions