networking - TShark field name - Stack Overflow
stackoverflow.com › questions › 44704687Jun 22, 2017 · If you run tshark -G column-formats, you will get an idea of the format to use and there's a basic example listed at the bottom, although it doesn't currently provide an example for a custom column. For your particular use case then, namely "tshark -i mon0 -T fields -e wlan.fc.type -e wlan.fc -e wlan.fc.type_subtype" , the following command may give you something closer to what you want:
Wireshark Q&A
https://osqa-ask.wireshark.org/questions/32522/tshark-info-fieldtshark -r file.pcap -T fields -e col.Info From the above man page: -e field Add a field to the list of fields to display if -T fieldsis selected. This option can be used multiple times on the command line. At least one field must be provided if the -T fieldsoption is selected. Column names may be used prefixed with "col."
Tshark | Pipes
https://tshark.dev/capture/sources/pipe04.04.2019 · fields: Specify which values of the packet to show with display filters; JSON-based ... A named pipe (aka FIFO) ... In this example, tshark reads packets and sends the packet bytes to stdout. The stdout is written to the pipe which is sent to the stdin of a second tshark process. # You may need to use sudo to capture tshark -w - ...
Tshark | Display Filters
https://tshark.dev/analyze/packet_hunting/packet_hunting07.07.2019 · Sometimes you know the protocol you’re looking for, just not the relevant fields you need to filter with. tshark -G will print all protocols, so you can use it in conjunction with grep to find fields of interest. grep for a specific field by name If we already know what the field name is, we can get the full display filter by searching for it.