display_filter
Filter a pcap file with a Wireshark display filter and return a preview of matching packets. Specify filter expression and max packet count.
Instructions
Apply a Wireshark display filter to a pcap file and return a preview of matching packets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .pcap or .pcapng file | |
| filter | Yes | Wireshark display filter (e.g., 'tcp.port == 80', 'http') | |
| packet_count | No | Maximum number of packets to return (default: 100) |