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

Maximum number of fields that can be exported to CSV file using tshark command

0
1

Hi all

I was looking for a command line option to export fields within a message into a CSV file, i could find that it can be done using tshark command with some of the options. My question is as follows.

  • What is the maximum number of fields that can be exported to CSV file using -e option. (Because i have some of the messages which contains more than 100 fields).
  • Is there a way i can export all the fields of a message by default without specifying them using -e option. (as in most of my cases i need to export all the fields of a message, the command line becomes so big to maintain after adding all the fields).

Thank you

Kiran Kumar G

asked 01 Sep '15, 11:29

Kiran%20Kumar%20G's gravatar image

Kiran Kumar G
21111415
accept rate: 0%

edited 03 Sep '15, 13:29


One Answer:

1

What is the maximum number of fields that can be exported to CSV file using -e option.

There is no limit per se; however, there are limits as to how long the command-line can be, and this limit varies from platform to platform. For example, on Windows using cmd.exe, the following article describes the limits: https://support.microsoft.com/en-us/kb/830473.

Is there a way i can export all the fields of a message by default without specifying them using -e option.

Not that I know of.

answered 04 Sep '15, 07:38

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%