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

I am trying to export the packet list information, to include the packet data, to a CSV file. In the Packet Details view, I have right-clicked on the expanded Data element and selected 'Apply as Column'.

- Data (57 bytes)
    Data: 39000000000000003152415200000000420d000000000000...   <-- this is what I right-clicked
    [Length: 57]

Looking at the column preferences, I see a new column of Custom type named 'Data' that uses the field name of 'data.data'. Here's what I see in the 'Data' column for the selected packet:

39000000000000003152415200000000420d000000000000...

When I export the Packet Dissections as CSV, the 'Data' column has just this exact text, but I really want the full data, i.e., without the ellipsis.

Is there a way to achieve this? I'm using Wireshark v1.12.0.

asked 13 Aug '14, 13:47

Matt%20Davis's gravatar image

Matt Davis
21115
accept rate: 0%

edited 13 Aug '14, 13:48

This question seems to be VERY similar to what I'm asking. https://ask.wireshark.org/questions/15531/datadata-shows-only-24byte

(13 Aug '14, 13:50) Matt Davis

I am also looking to do something like this. Did you figure out a way to do it?

(16 Sep '14, 09:45) adercott

Unfortunately I have no idea about the GUI issue with the shortened output, but if your main focus is dumping the data into a text/csv file I'd recommend using tshark with the -Tfields option to select and dump the columns of interest and eventually modifying the output to fit your needs.

e.g. tshark -r trace1.pcap -Tfields -e frame.number -e ip.src -e ip.dst -e data.data > output.txt

will dump the requeted fields (coloumns) into a text file seperated by I think a TAB space. If you want to you can easily change that by adding the -E separator= flag so that the output will be separated by a comma or another character of your choice.

permanent link

answered 17 Sep '14, 08:44

Landi's gravatar image

Landi
2.3k51442
accept rate: 28%

Thanks, @Landi. I wish I could get answer about the UI, but in lieu of a better answer (i.e., at least one), I'll accept this one. ;)

(17 Sep '14, 17:05) Matt Davis
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×76
×58
×40
×5

question asked: 13 Aug '14, 13:47

question was seen: 10,041 times

last updated: 17 Sep '14, 17:05

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