get_activity_for_servers
Gets activity for servers.
Path:
/lib/server/get_activity_for_servers.js
Parameters:
None.
Example Request:
POST /redrock/query
{
"Script":"@/lib/server/get_activity_for_servers.js"
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 1714,
"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"
},
{
"Name": "Detail",
"IsHidden": false,
"DDName": "EventMessage",
"Title": "Detail",
"DDTitle": "Message",
"Description": null,
"Type": 12,
"Format": null,
"Width": 0,
"TableKey": "NotAKey",
"ForeignKey": null,
"TableName": "Event"
},
...
],
"FullCount": 1714,
"Results": [
{
"Entities": [],
"Row": {
"Detail": "Discovery job posted by SYSTEM$ completed successfully. Elapsed time: 00:00:21",
"EventType": "Cloud.Server.DiscoveryCompleted",
"When": "/Date(1522929540086)/",
"AuditId": null
}
},
{
"Entities": [],
"Row": {
"Detail": "Discovery job posted by SYSTEM$ completed successfully. Elapsed time: 00:27:03",
"EventType": "Cloud.Server.DiscoveryCompleted",
"When": "/Date(1522770147869)/",
"AuditId": null
}
}
...
],
"ReturnID": ""
},
"Message": null,
"MessageID": null,
"Exception": null,
"ErrorID": null,
"ErrorCode": null,
"InnerExceptions": null
}
Updated about 5 years ago