404
edits
Line 232: | Line 232: | ||
This allows to extract information of automated pcap uploads. | This allows to extract information of automated pcap uploads. | ||
== Examples == | == REST API Examples == | ||
==== MAC or IP address statistics ==== | ==== MAC or IP address statistics ==== | ||
<code>curl --silent -k -u USER:PASSWORD 'https://allegro-mm | Extract the packets per second statistic of the MAC broadcast address | ||
curl --silent -k -u USER:PASSWORD 'https://allegro-mm | |||
<code>curl --silent -k -u USER:PASSWORD 'https://allegro-mm/API/stats/modules/mac/macs/ff:ff:ff:ff:ff:ff'</code> | |||
<code>curl --silent -k -u USER:PASSWORD 'https://allegro-mm/API/stats/modules/ip/ips/10.1.2.3'</code> | |||
==== Pretty displaying JSON output with jq ==== | ==== Pretty displaying JSON output with jq ==== |
edits