I'm trying to generate a json file from a .pcap witth only a few fields. The first thing I'm doing is exporting the whole .pcap as a json file to see the fields I want to extract (File - Export Packet Dissections - As json). Then I execute tshark with the next sintax:
tshark -r example.pcap -T json > example.json -e ip.dst -e ip.src -e gsm_map.ms.sai_Present
And the result of the last command is:
Tshark - Some fields aren't valid: gsm_map.ms.sai_Present
Any idea?