get_activity_for_server

Gets activity for a server.

Path:
/lib/server/get_activity_for_server.js

Parameters:

NameTypeDescription
idStringThe unique ID of the server to get activity for.

Example Request:

{
	"Script":"@/lib/server/get_activity_for_server.js(id:'9ec0e...')"
}

Example Response:

{
    "success": true,
    "Result": {
        "IsAggregate": false,
        "Count": 1,
        "Columns": [
            {
                "Name": "When",
                "IsHidden": false,
                "DDName": "WhenOccurred",
                "Title": "When",
                "DDTitle": "When Occurred",
                "Description": null,
                "Type": 3,
                "Format": null,
                "Width": 0,
                "TableKey": "NotAKey",
                "ForeignKey": null,
                "TableName": "Event"
            },
            ...
        ],
        "FullCount": 1,
        "Results": [
            {
                "Entities": [],
                "Row": {
                    "Detail": "SYSTEM$ added system \"Windows-172-27-14-99\"(111.22.33.44)",
                    "EventType": "Cloud.Server.ServerAdd",
                    "When": "/Date(1522769338976)/",
                    "AuditId": null
                }
            }
        ],
        "ReturnID": ""
    },
    "Message": null,
    "MessageID": null,
    "Exception": null,
    "ErrorID": null,
    "ErrorCode": null,
    "InnerExceptions": null
}