Log Object

Describes the JSON object of a Log.

An Event Log in Ubidots can be obtained in the following endpoints: Get Event Logs and Get Event Log.

PropertyTypeDescription
idStringId of Log
eventStringId of Event
logTypeStringType of Log message
messageStringDetailed Log message
contextObjectProvides more information about start_time, end_time, variable, request_data, organization_id and successful_execution
priceNumberPrice of Log
createdAtDateDate when Log was created
{
    "id": 13355573,
    "event": "123454201d84727dc57df531",
    "logType": "action_telegram_messages",
    "message": "Telegram message sent to +57  (300) 111 - 1111",
    "context": {
        "end_time": 1590043969216,
        "variable": {
            "id": "56789eff1d8472686e9abb4f",
            "name": "var0",
            "value": 89.0,
            "timestamp": 1590043965230
        },
        "start_time": 1590043968501,
        "request_data": {
            "number": "+57  (300) 111 - 1111",
            "message": "Hey there, var0 was 89.0 at 2020-05-21 01:52:45 -0500.\n",
            "country_code": null
        },
        "response_data": {},
        "organization_id": null,
        "successful_execution": true
    },
    "price": 0,
    "createdAt": "2020-05-21T06:52:49.232182Z"
}