I'm using tshark to collect a series of fields from a large collection of pcap files. Outputting the fields from the pcap is fine - I'm using the "-e" option to specify each of the fields names I need. The part missing is a way to output the filename of the pcap.
Is there a field name that corresponds to the pcap filename? Checked the fields reference here, but don't see anything.