This is our old Q&A Site. Please post any new questions and answers at

I'm writing a wireshark dissector for a log dump. I have a 8 byte time stamp field in the PDU. Is it possible to display this time stamp value in the time column in wireshark. Also, this packet is not encapsulated by any other protocol.

Thanks in Advance!

asked 24 Jun '11, 12:18

tut087's gravatar image

accept rate: 0%

You can create a custom column that contains your timestamp field (and optionally hide the Time column if it's confusing to show both columns):

  1. Go to Edit > Preferences > User Interface > Columns
  2. Click Add
  3. A new column is added to the column list. Rename it (e.g., to "Timestamp").
  4. For Field type, pick Custom
  5. For Field name, enter the name of your timestamp field (defined at field registration).
  6. OPTIONAL: To hide the Time column, select it from the list and click Remove (you can add it back later).
  7. Click OK
permanent link

answered 24 Jun '11, 17:15

helloworld's gravatar image

accept rate: 28%

edited 24 Jun '11, 17:16

Thanks. What function could I use to populate this new coloumn?

(27 Jun '11, 07:47) tut087

If using the steps above, you don't need to use a function. Wireshark fills in the column for you automatically: each packet is evaluated for your timestamp field and its value is put in the Timestamp column.

(27 Jun '11, 10:57) helloworld
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 24 Jun '11, 12:18

question was seen: 4,156 times

last updated: 27 Jun '11, 10:57

p​o​w​e​r​e​d by O​S​Q​A