merge_pcap_files
Merge multiple PCAP files in timestamp order and run a packet summary on the combined capture, enabling correlation of events across different capture points.
Instructions
Merge multiple PCAP files in timestamp order and analyse the combined result.
Uses mergecap (bundled with Wireshark) to combine captures from multiple network taps or capture sessions, then runs a packet summary on the merged file. Useful for correlating events across different capture points.
Args: input_files: Comma-separated paths to input PCAP files (minimum 2) output_file: Path where the merged PCAP will be written display_filter: Optional display filter for the post-merge summary
Returns: Merge status and packet summary of the combined capture
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_files | Yes | ||
| output_file | Yes | ||
| display_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |