404
edits
| Line 240: | Line 240: | ||
Example to capture everything from now on:  | Example to capture everything from now on:  | ||
<code>curl -k -u USER:PASSWORD 'https://allegro-mm  | <code>curl -k -u USER:PASSWORD 'https://allegro-mm/API/data/modules/capture' > path_to/capture.pcap</code>  | ||
Example to capture a specific IP of the last hour  | Example to capture a specific IP of the last hour  | ||
<code>curl -k -u USER:PASSWORD "https://allegro-mm  | <code>curl -k -u USER:PASSWORD "https://allegro-mm/API/data/modules/capture?expression=ip==10.1.2.3&starttime=$(date --date="1 hour ago" +%s)&endtime=$(date +%s)&fromCaptureBuffer=true" > path_to/capture.pcap</code>  | ||
=== Virtual Link Groups ===  | === Virtual Link Groups ===  | ||
edits