Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Tshark output single line json

I want to live analyze packets captured with tshark in python.

tshark -i <interface> -T ek -l

Is pretty close to what I need. The problem is the naming. I get much better results with -T json but the results are not a single line for a single packet.

So before writing complicated logic to parse -T json output, I wanted to ask for any other ideas.