Action object

The extractor sends action data to Kafka a the following times:

  • Every 6 hours for pending actions.

  • Immediately after an action completes, whether completion is success or failure.

Each action object has two main fields:

  • timestamp: When the action object was broadcast

  • action: The data that describes the given action

Sample Action object

{
  "timestamp": "2020-12-07T18:20:10Z",
  "action": {
    "oid": "144118995513593",
    "creationTime": "2020-12-07T18:13:10Z",
    "type": "MOVE",
    "state": "READY",
    "mode": "MANUAL",
    "category": "PERFORMANCE_ASSURANCE",
    "severity": "CRITICAL",
    "description": "Move Virtual Machine hp-esx59 from hp-bl433.eng.vmturbo.com to hp-bl435.eng.vmturbo.com",
    "explanation": "Q2 VCPU Congestion",
    "target": {
      "oid": 73741823907376,
      "name": "hp-esx59",
      "type": "VirtualMachine"
    },
    "moveInfo": {
      "from": {
        "oid": "73741823904848",
        "name": "hp-bl433.eng.vmturbo.com",
        "type": "PHYSICAL_MACHINE"
      },
      "to": {
        "oid": "73741823904864",
        "name": "hp-bl435.eng.vmturbo.com",
        "type": "PHYSICAL_MACHINE"
      }
    },
    "related": {
      "PHYSICAL_MACHINE": [
        {
          "name": "hp-bl433.eng.vmturbo.com",
          "oid": 73741823904848
        }
      ],
      "DATACENTER": [
        {
          "name": "GTDC",
          "oid": 73599609177857
        }
      ],
      "VIRTUAL_DATACENTER": [
        {
          "name": "Resources-NACGTDHORDSKBZ",
          "oid": 73599609178290
        }
      ],
      "STORAGE": [
        {
          "name": "XIO-GTDBZVOLDS01",
          "oid": 73599609177895
        }
      ],
      "DISK_ARRAY": [
        {
          "name": "DiskArray-XIO-GTDBZVOLDS01",
          "oid": 73599609177870
        }
      ],
      "APPLICATION_COMPONENT": [
        {
          "name": "GuestLoad[H04BZFT02UAT005]",
          "oid": 73599609183789
        }
      ],
      "COMPUTE_CLUSTER": [
        {
          "name": "GTDC/NACGTDHORDSKBZ",
          "oid": 284705842023005
        }
      ],
      "STORAGE_CLUSTER": [
        {
          "name": "storageCluster1",
          "oid": 284705842023006
        }
      ],
      "K8S_CLUSTER": [
        {
          "name": "k8sCluster1",
          "oid": 284705842023007
        }
      ]
    }
  }
}

Common Action object fields

JSON Object Description Type Repeated Format MapKeyType Reference
buyRiInfo Data that analysis uses to calculate Buy RI actions. /shared/BuyRiInfo False     BuyRiInfo
category The category of action. /enums/action_category False     action_category
creationTime When analysis created the action. String False yyyy-MM-dd'T'HH:mm:ss'Z'    
deleteInfo A description of a file is unattached and should be deleted. /shared/DeleteInfo False     DeleteInfo
description The description that analysis generates for the action. String False      
environment   String       environment_type
executionError   String        
executionTime   String        
explanation The condition that the action is addressing. For example, Q2 VCPU CONGESTION. String False      
mode The mode for the action execution. /enums/action_mode False     action_mode
moveInfo Information to describe a MOVE action. /shared/MoveChange False     MoveChange
newRelated   JSON True      
oid The action object identifier. Long False      
related An array of entities or groups that are related to the target entity. /exporter/RelatedEntity True   /enums/entity_type RelatedEntity
resizeInfo Information to describe a RESIZE action. /shared/CommodityChange False     CommodityChange
savings The cost change for the action. /exporter/CostAmount False     CostAmount
scaleInfo Information to describe a SCALE action. /shared/MoveChange False     MoveChange
severity For a given action, the severity of the issue that it addresses. /enums/severity False     severity
stableOid   Long        
state The different states for the action, such as completed or pending. /enums/action_state False     action_state
target The entity that the action operates on. /shared/ActionImpactedEntity False     ActionImpactedEntity
type The action type. /enums/action_type False     action_type
userAccount   String