Get detailed flows
REST URL :
GET /api/telemetry/flows/details.json
Parameters :
startTs (mandatory) => Start timestamp,
endTs (mandatory) => End timestamp, default:current-time
filter (optional) => Lucene format filter {srcIp,srcPort,dstIp,dstPort,ProtocolName,ingressVrf,egressVrf}, default:null
statName (optional) => Stat name {flow:latency, flow:epmove, flow:pktdrop, flow:ingressburstmax, flow:egressburstmax, flow:ingressPktCount, flow:egressPktCount}
granularity (optional) => Granularity of time period
fabricName (optional) => limit the records pertaining to this fabricName
Example:
curl -k -i -XGET 'https://<ip:port>/appcenter/Cisco/NIR/apiserver-api/api/telemetry/flows/details.json'
Response:
{
"nodeName": null,
"description": "",
"statName": null,
"entries": [
{
"flowId": "44.3.3.26:0",
"srcIp": "44.3.3.26",
"dstIp": "42.2.2.22",
"srcPort": "0",
"dstPort": "0",
"protocol": "61",
"protocolName": "ANY-HOST",
"ingressVrf": "ctx4_1",
"egressVrf": "ctx4_1",
"flowType": "IPV4",
"ingressTenant": "tele4",
"egressTenant": "tele4",
"stats": [
{
"ingressPktCount": 6875,
"ingressByteCount": 8250000,
"egressPktCount": 0,
"egressByteCount": 0,
"ingressBurst": 0,
"ingressBurstMax": 4800,
"egressBurst": 0,
"egressBurstMax": 0,
"hashCollision": 0,
"latency": 0,
"srcMoveCount": 0,
"dstMoveCount": 0,
"moveCount": 0,
"dropPktCount": 0,
"dropNodes": [
"telemetry-hw-spine1"
],
"paths": [
[
{
"node": "telemetry-hw-leaf3",
"nodeType": "Leaf",
"ingressVifs": [
"eth1/1"
],
"egressVifs": [
"eth1/49"
]
},
{
"node": "telemetry-hw-spine1",
"nodeType": "Spine",
"asicDropCode": 128,
"dropReason": "",
"dropType": "info",
"ingressVifs": [
"eth2/2"
],
"egressVifs": [
""
]
}
]
],
"nodeNames": [
"telemetry-hw-leaf3",
"telemetry-hw-spine1"
],
"ingressNodes": [
"telemetry-hw-leaf3"
],
"egressNodes": [],
"anomalyScore": 1,
"dropReasons": [],
"srcEpg": "testl3out",
"dstEpg": "",
"ts": "2019-02-01T19:18:56.458Z",
"originTs": "2019-02-01T19:18:38.445Z",
"terminalTs": "2019-02-01T19:20:42.419Z"
}
],
"srcEpg": "testl3out",
"dstEpg": ""
}
]
}