REST API description: Difference between revisions

No edit summary
Line 223: Line 223:




==== Pcap parameters ====
=== Pcap parameters ===


The Allegro Network Multimeter allows to extract the raw packets with the REST API with the special capture URI <code>/API/data/modules/capture</code>
The Allegro Network Multimeter allows to extract the raw packets with the REST API with the special capture URI <code>/API/data/modules/capture</code>
Line 245: Line 245:


<code>curl -k -u USER:PASSWORD "https://allegro-mm-XXXX/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>
<code>curl -k -u USER:PASSWORD "https://allegro-mm-XXXX/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 ===
404

edits