Difference between revisions of "APIs"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
Line 1: Line 1:
[[Category:API Notes]]
[[Category:Technical Notes]]
[[Category:Technical Notes]]

Revision as of 12:48, 24 April 2019

Rest For Summary Data
Rest For FlowSec Data
Rest For First Packet Response Data
Rest For Forensics Data

Browser rest access{"reportName":"Applications","type":"Table"}&portalUser=admin@myipsla.com

Sending data to scripts

curl -H "Content-Type: application/json" -X POST -d '{"type":"processscript","scriptid":-5,"data":{"test":false}}' ""
curl -H "Content-Type: application/json" -X POST -d '{"type":"processscript","scriptname":"data script 1","data":{"test":false}}' ""

Event Script to process incoming data

var thisdata = JSON.parse(data);