This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

Count specific frame from the given log

asked Nov 16 '17

I have a Wireshark log and I want to know how many such frames are present in the log. Is there any way to process the logs?

2 Answers

0

answered Nov 16 '17

When you load the capture file in Wireshark you can see the number of frames (displayed as "Packets") in the middle of the status bar at the bottom:

image description

You can also see more info about the capture file from the menu option Statistics -> Capture File Properties.

Comments

Thanks for the response, I can see the overall packet count, but I am interested in the count of a specific type of a frame from the log. for example the number of Application acks in the given log.

User 33832 ( Nov 16 '17 )

Got it, selected a frame and added a filter, and then got the frame count in the bottom bar. Did you also meant in the same way, sorry if I misunderstood.

User 33832 ( Nov 16 '17 )

Yes, there are two components to the status bar counts, the first is the total packets in the capture, the second is the number that a displayed given the current display filter. With no filter the two are equal.

If an answer has solved your issue, please accept it to let others know it's a good answer by clicking the checkmark icon.

User 98587 ( Nov 16 '17 )
0

answered Nov 16 '17

Have a look at capinfos, a command line tool that gives you information about the capture file (Wireshark log, as you call it) including frame count.

Comments

Thanks I'll have a look.

User 33832 ( Nov 16 '17 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.