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

Hello,

I would like to distinguish frames from the tshark output, see this failed attemp :

tshark -r mydump-20141015-185000.dump  -Y "frame contains a or frame contains b" -T fields -e frame.time -e "frame contains a" -e "frame contains b"

I would like next output:

time1 0 1 # not comtains a and contains b
time2 1 1 # contains a and contains b
time3 1 0 # contains a and not contains b

Thank you very much ! Does tshark have such capabilitie ?

Un saludo

asked 15 Oct '14, 11:53

i5513's gravatar image

i5513
11113
accept rate: 0%

edited 15 Oct '14, 17:28

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


No, -e currently supports only fields, not arbitrary filter expressions. File an enhancement request at the Wireshark bugzilla if you'd like to see a capability such as this added.

permanent link

answered 15 Oct '14, 17:27

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

(16 Oct '14, 09:20) i5513
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:

×832
×40
×33
×3

question asked: 15 Oct '14, 11:53

question was seen: 2,490 times

last updated: 16 Oct '14, 09:20

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