extract_fields
Extract selected fields from PCAP packet captures. Specify file path and comma-separated field names to receive tab-separated values per packet, with optional display filters and TLS decryption.
Instructions
Extract specific fields from packets in a PCAP file.
Args: file_path: Path to the PCAP file fields: Comma-separated field names (e.g. "ip.src,ip.dst,tcp.port"). Use "http.request.uri" or "tls.app_data" for decrypted content. display_filter: Optional display filter to apply keylog_file: Optional path to a TLS key log file for decrypting TLS traffic
Returns: Tab-separated field values, one packet per line
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| file_path | Yes | ||
| keylog_file | No | ||
| display_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |