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

Hi all,

I have been attempting to use TShark in a batch method to process a significant number of pcap files to .csv files.

I am aware that this can be done using the "-T fields" approach, or just as "-T text". However, the output I want is just as it would be presented in wireshark, i.e. an overall source, not just an IP or Ethernet address, etc. I'd also like to include the information field, and I would also like to not lose the granularity of the protocol, and have this displayed in text, as opposed to an index.

Does anyone have any suggestions about how to do this?

asked 12 Mar '12, 02:05

TimeLord86's gravatar image

TimeLord86
1112
accept rate: 0%

edited 12 Mar '12, 02:05

It's not entirely clear which fields you want, i.e. what do you mean by "overall source, not just IP or Ethernet address"? The "granularity of the protocol" isn't clear either.

If you explain your requirements more clearly someone may be able to help.

(14 Mar '12, 10:54) grahamb ♦
Be the first one to answer this question!
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:

×832
×76
×40
×12

question asked: 12 Mar '12, 02:05

question was seen: 3,872 times

last updated: 14 Mar '12, 10:54

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