Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 4.7

Skip to end of metadata
Go to start of metadata

The Trace entity is a JSON object with the following attributes.

Attribute

Description

action

The action performed. See Events Table

context

The tracer context that the event belongs too. The platform assigns a single context ID to related events

enterpriseName

Name of the current enterprise of the user who performed the action

enterpriseURI

URI of the current enterprise of the user who performed the action

entity

Entity type. See Events Table

entityEnterpriseName

Name of the enterprise that the entity belongs to

entityEnterpriseURI

URI of the enterprise that the entity belongs to

entityMediaType

Entity media type. See media types in the API documentation at https://wiki.abiquo.com/api/latest

entityName

Entity name

entityURI

Entity URI

errorCode

If the severity is ERROR or WARNING, then this optionally contains an Abiquo API error code, see API Error Code List

errorMessage

If the severity is ERROR or WARNING, then this optionally contains an Abiquo API error message, see API Error Code List

exception

If the severity is ERROR, then this optionally contains the Java exception

message

The message

severity

The severity

tags

Collection of tags that describes the entity

timestamp

The timestamp of the time when the event took place. Expressed in the number of milliseconds since the epoch of 1970-01-01T00:00:00Z

userName

Name of the user who performed the action

userURIURI of the user who performed the action


The platform streams events as trace entities. 

For example

{
   "action":"CREATE",
   "context":"024c42a6-a9a2-4fd8-906f-cf7df3f02371",
   "enterpriseName":"Abiquo",
   "enterpriseURI":"/api/admin/enterprises/1",
   "entity":"VIRTUAL_DATACENTER",
   "entityEnterpriseName":"Abiquo",
   "entityEnterpriseURI":"/api/admin/enterprises/1",
   "entityMediaType":"application/vnd.abiquo.virtualdatacenter+json",
   "entityName":"vmware_vdc",
   "entityURI":"/api/cloud/virtualdatacenters/4",
   "errorCode":null,
   "errorMessage":null,
   "exception":null,
   "message":"Virtual datacenter 'vmware_vdc' has been created.",
   "severity":"INFO",
   "tags":[
      "virtualdatacenter:4",
      "user:1",
      "enterprise:1"
   ],
   "timestamp":1573130105514,
   "userName":"admin",
   "userURI":"/api/admin/enterprises/1/users/1"
}
  • No labels