export-sessions-pcap
Export a PCAP file of GreyNoise sensor sessions filtered by Lucene query for network packet analysis.
Instructions
Export a PCAP file containing packets from multiple GreyNoise sensor sessions matching query criteria. Saves the binary PCAP to a temporary directory and returns the file path. The file can be opened with Wireshark, tshark, or tcpdump.
Use Lucene query syntax to filter sessions (e.g., "destination.port:443", "source.ip:1.2.3.4").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_time | Yes | Start time for the query range (ISO 8601 format, e.g. 2026-01-01T00:00:00Z) | |
| end_time | Yes | End time for the query range (ISO 8601 format, e.g. 2026-01-07T23:59:59Z) | |
| query | No | Lucene query string to filter sessions | |
| size | No | Maximum number of sessions to include (default: 100) | |
| sort_by | No | Field to sort results by (default: lastPacket) | lastPacket |
| sort_desc | No | Sort in descending order (default: true) | |
| scope | No | Data scope for the query (default: workspace) |