Protocol Distribution

     

    API :

    http://SERVERIP:PORT/api/json/v2/nfadevice/getProtocolData

    Parameters

    apiKey uniquekey
    DeviceID  Interfaceid/interface group id/ipgroup id
    BussView  true(when the resource type is interface group)
    IPGroup  true(when the resource type is IP group)
    Type  speed/ volume / percentage
    Data  IN/OUT
    TimeFrame  15Minute /30Minute/hourly / 6Hour/Daily/today/ yesterday / weekly/monthly /Quarterly/ custom

    Sample API :

    http://testpc:8080/api/json/v2/nfadevice/getProtocolData?&apiKey=407ef7c282fa0ace024d34f6cc8e7ba1&DeviceID=5000019&BussView=false&IPGroup=false&Type=speed&TimeFrame=6Hour&Data=IN

    Sample Output :

    {

    "result":[

    {

    • "volume":"758.319 KB",
    • "Name":"IGMP",
    • "traffic":"4 %",

    },

    {

    • "volume":"353.708 KB",
    • "Name":"Unknown",
    • "traffic":"2 %",

    },

    {

    • "volume":"5.903 MB",
    • "Name":"Others",
    • "traffic":"32 %",

    }

    ],

    "devDetails":[

    {

    • "hdrTitle":"127.0.0.1 ( IfIndex1 )",
    • "Type":"ProtocolIN",
    • "Total":"12.375 MB",
    • "RouterIP":"127.0.0.1",
    • "Name":"IfIndex1",

    },

    {

    • "TimeZone":"Asia/Kolkata",
    • "nextPage":"false",
    • "startTime":"2018-10-10 05:26",
    • "endTime":"2018-10-10 11:26",

    }

    ]

    }