Operatorswrite_pcapVersion: v4.24On this pagewrite_pcapTransforms event stream to PCAP byte stream.write_pcapDescriptionTransforms event stream to PCAP byte stream.The structured representation of packets has the pcap.packet schema:pcap.packet: record: - linktype: uint64 - time: timestamp: time - captured_packet_length: uint64 - original_packet_length: uint64 - data: stringPCAPNGThe current implementation does not support PCAPNG. Please reach out if you would like to see support.ExamplesWrite packets as PCAP to a filesubscribe "packets" write_pcap save_file "/logs/packets.pcap"