This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to add “Data rate” columns to display on wireshark?

0

I know how to add a new column but I don't know the field name of data rate. Thanks in advanced!

asked 13 Sep '13, 02:50

kaisan's gravatar image

kaisan
1111
accept rate: 0%

Picture

I PrtSc the picture I saw and marked it yellow. Still waiting for the answer<(__)>

(16 Sep '13, 20:24) kaisan

Still waiting for the answer<

see the UPDATE in my answer.

(17 Sep '13, 02:57) Kurt Knochner ♦

3 Answers:

0

Where did you find this "Data rate" if it is not a field? Columns are generally fields shown for all packets (unless a packet doesn't contain that specific field).

answered 13 Sep '13, 02:52

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

0

Find the field in the proto tree, then right click it and select "Apply as Column".

answered 13 Sep '13, 02:54

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

0

I don't know the field name of data rate

There is no general data rate field (at least I don't know one), with some minor exceptions, where a protocol provides some kind of negotiated data rate. See

tshark -G fields | grep "data rate"
tshark -G fields | find "data rate"

So, if you are looking for one of those exceptions, please add details about the protocol you are interested in.

If you looking for a general data rate fields, i.e. number of bytes/second: Fields are properties of frames/packets. A data rate would be an information about the amount of data (bytes/frames) transmitted in a defined time interval. It would not make sense to add that information to a single packet as a field.

So, if you need information about the data rate over time in a conversation, I suggest to use IO graphs.

Statistics -> IO Graph

That will show you the packets/bytes per tick (seconds) over the lifetime of the conversation.

http://www.wireshark.org/docs/wsug_html_chunked/ChStatIOGraphs.html

== UPDATE ==

According to the screenshot, I'd say that the "Data Rate" is actually the field radiotap.datarate

So, here we go:

Edit -> Preferences -> User Interface -> Columns

Click Add and then change the fields type to Custom. Insert the following into 'Field name:': radiotap.datarate. Finally rename the Column from 'New Column' to 'Data Rate'.

Hint: That field will only be there if a Radiotap header is available (wifi traffic in certain capture environments)!!

BTW: If there is a radiotap header, you can just open it and click on "Data Rate:". Then right click and choose 'Apply as column'.

See also:

http://packetlife.net/blog/2008/jun/27/adding-columns-to-wireshark/
http://www.wireshark.org/docs/dfref/r/radiotap.html

Regards
Kurt

answered 14 Sep '13, 07:06

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 17 Sep '13, 03:17