Action Object

The extractor sends action data to Kafka:

  • Every 6 hours for pending actions.
  • Immediatly after an action completes, whether completion is success or failure.

Each action object has two top-level fields:

  • timestamp: When the action object was broadcast.
  • action: The data that describes the given action.

Sample Action Object

Click to Show/Hide:
{
  "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

Every action object includes the following fields:

JSON ObjectDescriptionTypeRepeatedFormatMapKeyTypeReference
buyRiInfo

Data that analysis uses to calculate Buy RI actions.

BuyRiInfo

False

BuyRiInfo

category

The category of action.

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.

DeleteInfo

False

DeleteInfo

description

The description that analysis generates for the action.

String

False

explanation

The condition that the action is addressing. For example, Q2 VCPU CONGESTION.

String

False

mode

The mode for the action execution.

action_mode

False

action_mode

moveInfo

Information to describe a MOVE action.

MoveChange

False

MoveChange

oid

The action object identifier.

Long

False

related

An array of entities or groups that are related to the target entity.

RelatedEntity

True

entity_type

RelatedEntity

resizeInfo

Information to describe a RESIZE action.

CommodityChange

False

CommodityChange

savings

The cost change for the action.

CostAmount

False

CostAmount

scaleInfo

Information to describe a SCALE action.

MoveChange

False

MoveChange

severity

For a given action, the severity of the issue that it addresses.

severity

False

severity

state

The different states for the action, such as completed or pending.

action_state

False

action_state

target

The entity that the action operates on.

ActionImpactedEntity

False

ActionImpactedEntity

type

The action type.

action_type

False

action_type