Revision history [back]
tshark with filter to CSV producing output for every packet
i'm using tshark to filter on dissector fields. This works BUT packets excluded by the filter still produce a line output with what seems to be the packet size. Therefore post-processing is necessary to clean up the CSV file.
Sample tshark output: 7321
8161
186
21.909215000,46.9410915740944,-119.253969718347
186
21.999966000,46.9411354379834,-119.255116969599
204
7321
8161
186
22.408871000,46.9411012325238,-119.254331354686
204
204
The lines with just the single number should be filtered out but are present in the tshark output