Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Get OS Log Graph retrieves operating system logging data points for a graph.

You can use the Get Packages Status API to find the Core Instance ID (coreInstanceId).



Sample request

GET https://api.armor.com/log-management/vms/a6be34d2-c842-4afd-9b02-219a649b278b/stats?startdate=2015-12-08T00:00:00&enddate=2015-01-07T23:59:59

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type

/log-management/vms/{CoreInstanceId}/stats?

GET

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
coreInstanceIDCore Instance IDGUIDRequireda6be34d2-c842-4afd-9b02-219a649b278b
startDateDate time for start of the graphdatetimeRequired2015-12-08T00:00:00
endDateDate time for end of the graphdatetimeRequired2015-01-07T23:59:59

To use multiple, optional parameters in one request, you must use the ampersand symbol ( & ) to connect each parameter together.


Sample return

StatusResponse
200
{
   "binScale": "14.8799944444444h",
   "vmLogEvents": [
       {
           "dateKey": "2015-12-07T23:50:19.35Z",
           "logCount": 2981
       }
   ]
}





In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.