query_pcap
Run a custom tshark query on a pcap file using Wireshark display filters and extract specific fields to analyze network traffic.
Instructions
Run a custom tshark query on a pcap file with optional display filters and field extraction. Use Wireshark display filter syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to extract (e.g., ['ip.src', 'ip.dst', 'tcp.port']) | |
| pcap_path | Yes | Path to the pcap file | |
| display_filter | No | Wireshark display filter (e.g., 'ip.addr==192.168.1.1', 'tcp.port==80', 'http.request.method==GET') |