Event Management- Sub Events

The Events page is divided into two panes. The upper pane shows a list of events for the selected location. The lower pane shows the details of the sub-events, devices in the event and sub-event that are related to the event you select in the upper pane of the Events page. A maximum of 50 sub-events per event is presented in specific deployments. Some deployments can present only up to 25 sub-events for an event.

API Calls

/V6/events/{id}/subevents

Get Sub Events

Description Fetches the sub-events for a specified event from the Arista Server or the Arista Cloud Services.
Who Can Execute? Superuser, Administrator, Operator, and Viewer.
Syntax
GET <Base_URL>/events/{id}/subevents
  • id

    It is an integer value indicating the event ID. For example, 8. Ensure that an event with the specified event ID exists.

Sample code
GET https://192.168.55.179/new/webservice/V6/events/8/subevents
Request Body This API call does not require any request body parameters.
Response Body If the API call is successful, the HTTP response status is 200.
The response body contains the details of the sub-event fetched. The response is in the application/json format.
JSON Table

Parameter Data Type Description
subEvents application/json List of the subevents that are being associated with the main event and are being fetched.
subEvents/id long ID of the subevent that is associated with the main event and being fetched.
subEvents/minorType long The minor type of the sub event that is being fetched. It is the subset of any of the major event type namely:

  • SYSTEM
  • SECURITY
  • PERFORMANCE
subEvents/textParams list of Strings Event description or summary parameter of the sub event that is being fetched.
subEvents/time long Time when the subevent occurred.
subEvents/participatingDeviceList application/json A list of devices, such as access points or sensors, which participated in the subevent that occurred. For complete JSON details of each device type, click the following links:

devices List of strings A device or list of devices that initiated the subevent that is being fetched. For complete JSON details of each device type, click the following links:

Sample JSON
{
   "subEvents": [
       {
          "id": 2,
          "minorType": 16,
            "textParams": [
                "Rogue",
                "Motorola_E5:C6:D9",
                "Rogue",
                "Mojo_D0:30:62"
            ],
            "time": 1425329913732,
            "participatingDeviceList": [
                {
                    "type": "client",
                    "boxId": 1814,
                    "name": "Motorola_E5:C6:D9",
                    "radios": [
                        {
                            "type": "clientradio",
                            "macaddress": "34:BB:26:E5:C6:D9",
                            "protocol": "CLIENT",
                            "channel": 0,
                            "firstDetectedTime": 0,
                            "upSince": 0,
                            "signalStrength": 0,
                            "quarantineStatus": null,
                            "captureFlag": 0,
                            "captureId": 0,
                            "ssid": null,
                            "prevReason": 0,
                            "prevPendingReason": 0,
                            "opprotocol": null,
                            "meshFlag": 0,
                            "dot11NCapability": 0,
                            "dot11ACCapability": 0,
                            "associatedAPName": null,
                            "misbehavingReason": 0,
                            "opMode": null,
                            "smartDeviceType": null,
                            "smartDeviceTypeName": null,
                            "smartDeviceTypeId": 0,
                            "sdTypeDisplayable": 0,
                            "capability": 0,
                            "sgclientID": 0,
                            "connectionStatus": 0,
                            "riskStatus": 0,
                            "sgClientGroupName": "",
                            "clientBridged": false,
                            "autopreventionEnabled": false,
                            "manualPreventionEnabled": false,
                            "active": true
                        }
                    ],
                    "locationId": {
                        "type": "locallocationid",
                        "id": 11
                    },
                    "deviceNote": null,
                    "ipAddress": null,
                    "manuallyTagged": false,
                    "group": null,
                    "userName": null,
                    "vendorName": null,
                    "cellId": null,
                    "ownSensorMac": null,
                    "totalCountRequired": false,
                    "searchIndex": -100,
                    "sortColumnIndex": -100,
                    "manuallyClassified": false,
                    "misbehaving": null,
                    "radio": {
                        "type": "clientradio",
                        "macaddress": "34:BB:26:E5:C6:D9",
                        "protocol": "CLIENT",
                        "channel": 0,
                        "firstDetectedTime": 0,
                        "upSince": 0,
                        "signalStrength": 0,
                        "quarantineStatus": null,
                        "captureFlag": 0,
                        "captureId": 0,
                        "ssid": null,
                        "prevReason": 0,
                        "prevPendingReason": 0,
                        "opprotocol": null,
                        "meshFlag": 0,
                        "dot11NCapability": 0,
                        "dot11ACCapability": 0,
                        "associatedAPName": null,
                        "misbehavingReason": 0,
                        "opMode": null,
                        "smartDeviceType": null,
                        "smartDeviceTypeName": null,
                        "smartDeviceTypeId": 0,
                        "sdTypeDisplayable": 0,
                        "capability": 0,
                        "sgclientID": 0,
                        "connectionStatus": 0,
                        "riskStatus": 0,
                        "sgClientGroupName": "",
                        "clientBridged": false,
                        "autopreventionEnabled": false,
                        "manualPreventionEnabled": false,
                        "active": true
                    },
                    "banned": false,
                    "active": true,
                    "bestSignalStrength": 0
                }
            ]
        }
    ],
    "devices": [
        {
            "type": "ap",
            "boxId": 1037,
            "name": "Mojo_D0:30:62",
            "radios": [
                {
                    "type": "apradio",
                    "macaddress": "00:11:74:D0:30:62",
                    "protocol": "BG",
                    "channel": 0,
                    "firstDetectedTime": 0,
                    "upSince": 0,
                    "signalStrength": 0,
                    "quarantineStatus": null,
                    "captureFlag": 0,
                    "captureId": 0,
                    "ssid": null,
                    "prevReason": 0,
                    "prevPendingReason": 0,
                    "opprotocol": null,
                    "meshFlag": 0,
                    "dot11NCapability": 0,
                    "dot11ACCapability": 0,
                    "dualBand": false,
                    "numAssocClients": 0,
                    "underDosAttack": false,
                    "quarantiningSensorMac": null,
                    "security": 0,
                    "secAuth": 0,
                    "secGCS": 0,
                    "secPWCS": 0,
                    "networkTag": null,
                    "networkedStatus": null,
                    "wiredMAC": null,
                    "misconfigured": false,
                    "capability": 0,
                    "securitySettingFailure": 0,
                    "mcsSet11ac": 0,
                    "supportedRates": 0,
                    "beaconInterval": 0,
                    "channelOffset": -999,
                    "mcsSet11n": null,
                    "extendedAttr": 0,
                    "channelWidth": 0,
                    "centerFrequencyOne": 0,
                    "centerFrequencyZero": 0,
                    "potentialClassification": null,
                    "maxDataRateFor11n": -999,
                    "primary": false,
                    "guest": false,
                    "autopreventionEnabled": false,
                    "manualPreventionEnabled": false,
                    "active": false
                }
            ],
            "locationId": {
                "type": "locallocationid",
                "id": 11
            },
            "deviceNote": null,
            "ipAddress": null,
            "manuallyTagged": false,
            "group": null,
            "placed": false,
            "wiredPortBlocked": false,
            "apTemplateId": 0,
            "apTemplateName": null,
            "vendorName": null,
            "signalSource": false,
            "manuallyClassified": false,
            "searchIndex": -100,
            "sortColumnIndex": -100,
            "updateFlags": -100,
            "primaryRadio": {
                "type": "apradio",
                "macaddress": "00:11:74:D0:30:62",
                "protocol": "BG",
                "channel": 0,
                "firstDetectedTime": 0,
                "upSince": 0,
                "signalStrength": 0,
                "quarantineStatus": null,
                "captureFlag": 0,
                "captureId": 0,
                "ssid": null,
                "prevReason": 0,
                "prevPendingReason": 0,
                "opprotocol": null,
                "meshFlag": 0,
                "dot11NCapability": 0,
                "dot11ACCapability": 0,
                "dualBand": false,
                "numAssocClients": 0,
                "underDosAttack": false,
                "quarantiningSensorMac": null,
                "security": 0,
                "secAuth": 0,
                "secGCS": 0,
                "secPWCS": 0,
                "networkTag": null,
                "networkedStatus": null,
                "wiredMAC": null,
                "misconfigured": false,
                "capability": 0,
                "securitySettingFailure": 0,
                "mcsSet11ac": 0,
                "supportedRates": 0,
                "beaconInterval": 0,
                "channelOffset": -999,
                "mcsSet11n": null,
                "extendedAttr": 0,
                "channelWidth": 0,
                "centerFrequencyOne": 0,
                "centerFrequencyZero": 0,
                "potentialClassification": null,
                "maxDataRateFor11n": -999,
                "primary": false,
                "guest": false,
                "autopreventionEnabled": false,
                "manualPreventionEnabled": false,
                "active": false
            },
            "banned": false,
            "guest": false,
            "misconfigured": false,
            "ssids": [],
            "mergedAP": false,
            "active": false,
            "bestSignalStrength": -5000
        }
    ]
}