What Just Happened Events
When the option "!" is used, then the argument it is used with is excluded.
Description |
Get statistical information on the WJH event. |
|||||||||||
Request URL |
/neo/app/wjh_events/statistics |
|||||||||||
Arguments |
|
Query example:
https://<ip-address>/neo/app/wjh_events/statistics?reason_severity=Warning,Notice,Error&from=-12h&until=1595160184&tz=Asia/Jerusalem&_=1595160184441
Response:
{
categories: [
{
category: "Forwarding",
total: 2901,
reasons: [
{
reason: "Source MAC equals destination MAC",
total: 2901
}
]
}
]
}
Description |
Get a list of WJH event filtered by reason or category. |
|||||||||||
Request URL |
/neo/app/wjh_events |
|||||||||||
Arguments |
|
Query example:
https://<ip-address>/neo/app/wjh_events?reason_severity=Warning,Notice,Error&from=-12h&until=1595160184&tz=Asia/Jerusalem&_=1595160184441&limit=1
Response:
{
items: [
{
category: "Forwarding",
subcategory: "L2",
deviceIP: "10.10.10.10",
deviceName: "ufm-sw10",
inPort: "Eth1/9",
reason_description: "Source MAC equals destination MAC",
reason_eventType: null,
reason_severity: "Error",
reason_recommendedAction: "Bad packet was received from peer",
timestamp: "2020-07-19 15:02:01.468267",
packetType: "IP",
rawPacket: null,
ethernet: {
packet_ethernet_etherTypeName: "Internet Protocol version 4 (IPv4) (0x0800)",
packet_ethernet_srcMac: "00:10:10:10:10:10",
packet_ethernet_dstMac: "00:10:10:10:10:11",
packet_ethernet_vlanId: null,
packet_ethernet_pcp: null
},
ip: {
packet_ip_srcIp: "99.255.255.0",
packet_ip_dstIp: "99.254.254.0",
packet_ip_protocolName: "IGMP (0x02)",
packet_ip_tos: null,
packet_ip_ttl: 64,
packet_ip_version: 4,
packet_ip_length: 12288
}
},
total: 2901
}
Description |
Get all WJH event group by reason or category or severity. |
|||||||||||
Request URL |
/neo/app/wjh_events/timeline |
|||||||||||
Arguments |
|
Query example:
https://<ip-address>/neo/app/wjh_events/timeline?reason_severity=Warning,Notice,Error&from=-12h&interval=43s&until=1595160184&tz=Asia/Jerusalem&_=1595160184446
Response:
2020-07-1914: 59: 09: {
Forwarding: 0
},
2020-07-1914: 59: 52: {
Forwarding: 0
},
2020-07-1915: 00: 35: {
Forwarding: 0
},
2020-07-1915: 01: 18: {
Forwarding: 0
},
2020-07-1915: 02: 01: {
Forwarding: 2901
},
2020-07-1915: 02: 44: {
Forwarding: 0
}
}
Description |
Return all the unique values of all tags on influxDB |
|||||||||||
Request URL |
/neo/app/wjh_events/filters |
|||||||||||
Arguments |
N/A |
Response:
{
packet_ethernet_dstMac: [
"00:3b:cc:11:22:23"
],
subcategory: [
"L2"
],
packet_ethernet_etherTypeName: [
"Internet Protocol version 4 (IPv4) (0x0800)"
],
packet_ip_dstIp: [
"99.254.254.3",
"99.254.254.2",
"99.254.254.8",
"99.254.254.9",
"99.254.254.0",
"99.254.254.6",
"99.254.254.4",
"99.254.254.10",
"99.254.254.7",
"99.254.254.1",
"99.254.254.5",
"99.254.254.11"
],
packet_ethernet_srcMac: [
"00:3b:cc:11:22:23"
],
deviceIP: [
"10.209.36.128"
],
packet_ip_srcIp: [
"99.255.255.22",
"99.255.255.95",
"99.255.255.252",
"99.255.255.129",
"99.255.255.155",
"99.255.255.34",
],
deviceName: [
"r-ufm-sw72"
],
category: [
"Forwarding"
],
inPort: [
"Eth1/9"
],
packetType: [
"IP"
],
packet_ip_protocolName: [
"IGMP (0x02)"
],
reason_description: [
"Source MAC equals destination MAC"
],
reason_severity: [
"Error"
]
}
Description |
Return all supported WJH events metadata |
|||||||||||
Request URL |
/neo/app/wjh_events/metadata |
|||||||||||
Arguments |
N/A |
Response:
[
{
"category": "Forwarding",
"default": true,
"filterable": true,
"reasonID": "207",
"recommendedAction": "Validate why IGMP join or multicast router port does not exist",
"severity": "Warning",
"subCategory": "L2",
"caption": "",
"description": "Multicast egress port list is empty",
"elementName": "Multicast egress port list is empty",
"generation": -1,
"instanceID": "Multicast egress port list is empty"
},
{
"category": "Buffer",
"default": true,
"filterable": false,
"reasonID": "506",
"recommendedAction": "Monitor network congestion",
"severity": "Notice",
"subCategory": "Buffer",
"caption": "",
"description": "Packet Latency Threshold Crossed",
"elementName": "Packet Latency Threshold Crossed",
"generation": -1,
"instanceID": "Packet Latency Threshold Crossed"
}
]
Description |
Set WJH session streaming settings on the Telemetry Agent |
|||||||||||
Request URL |
PUT /neo/app/wjh_events/streaming/filters |
|||||||||||
Arguments |
N/A |
Response:
{
"reason_ids": [
"Ingress port ACL",
"Ingress router ACL"
“Blackhole ARP/neighbor"
]
}
Description |
Return WJH session streaming settings configured on the Telemetry Agent |
|||||||||||
Request URL |
GET /neo/app/wjh_events/streaming/filters |
|||||||||||
Arguments |
N/A |
Response:
{
"reason_ids": [
"Ingress port ACL",
"Ingress router ACL"
]
}
Description |
Reset to default WJH session streaming settings on the Telemetry Agent |
|||||||||||
Request URL |
DELETE /neo/app/wjh_events/streaming/filters |
|||||||||||
Arguments |
N/A |
Response:
{
"reason_ids": [
"Ingress port ACL",
"Ingress router ACL"
“Blackhole ARP/neighbor"
]
}