This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

What is the syntax for wireshark custom column

asked Nov 13 '17

I want to calculate the time difference between 2 consecutive packets (and apply this for the whole pcap file), and have this shown as a custom column. What is the syntax i need to use to put in the "Field name" to calculate and show this information?

Thank you!

Comments

Why do you think you need a custom column for this? You can set the time display format (View -> Time Display format) to show the delta between either the previously captured packet or the previously displayed packet.

User 98587 ( Nov 13 '17 )

Also you can right click that time in every packet inside the frame header and select „apply as column“

User 23750 ( Nov 13 '17 )

1 Answer

1

answered Nov 13 '17

As commented, you don't need to add a custom column for this, but if you must, then use:

frame.time_delta

as your custom column field.

Comments

Thank you guys! As per your advice I created a new column and made it type "Delta time".

User 64488 ( Nov 14 '17 )

Hello,

Like frame.time_delta, can i add/create custom frame_field_delta. Is that possible.

Regards, S.Senthil

User 91069 ( Oct 12 '18 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.