I installed wireshark-2.6.1 from sources. I am using the below command line for capturing json output:
/opt/wireshark-2.6.1/bin/tshark -c 10 -T json -n -Q -q -t u > /tmp/out.txt
I do see a json output in the /tmp/out.txt, but before the json string, there are few lines with the "Capture-DEBUG" string in them. A sample line looks likes this:
(process:14338): Capture-DEBUG: Interface [randpkt] "Random packet generator"
Any idea how to suppress these lines from appearing in the output file?
Thanks Jitendra