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

Export header information - convert to csv

0

Hi,

I am currently trying to capture packets and then export the information about each packet as a .csv. Right now, the .csv only has the date, source, destination, protocol, etc. information. I would also like to export information about the header - hardware source/destination addresss, network address, etc. How do I do that?

asked 11 Jun '14, 09:14

yuanjiang's gravatar image

yuanjiang
6113
accept rate: 0%


2 Answers:

2

Add the columns you need in the preferences. The export as CSV uses the columns that Wireshark displays. If there is no preset for a column you need you can add it nonetheless by using a custom colum, which can display almost anything that there are display filters for. Easiest way to add custom columns is by finding a value you want as a column and right click to use "Apply as Column".

answered 11 Jun '14, 09:27

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

Thank you so much for the quick reply! It worked ;)

(11 Jun '14, 09:36) yuanjiang

2

The "Export Packet Dissections As CSV" option only outputs the columns you have on display. Add the appropriate columns to the display and your export will include them.

answered 11 Jun '14, 09:35

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

too slow, again!

(11 Jun '14, 09:35) grahamb ♦

Thank you so much!

(11 Jun '14, 09:36) yuanjiang