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 Object | Description | Type | Repeated | Format | MapKeyType | Reference |
|---|---|---|---|---|---|---|
| buyRiInfo |
Data that analysis uses to calculate Buy RI actions. |
False |
||||
| category |
The category of action. |
False |
||||
| 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. |
False |
||||
| 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. |
False |
||||
| moveInfo |
Information to describe a MOVE action. |
False |
||||
| oid |
The action object identifier. |
Long |
False |
|||
| related |
An array of entities or groups that are related to the target entity. |
True |
||||
| resizeInfo |
Information to describe a RESIZE action. |
False |
||||
| savings |
The cost change for the action. |
False |
||||
| scaleInfo |
Information to describe a SCALE action. |
False |
||||
| severity |
For a given action, the severity of the issue that it addresses. |
False |
||||
| state |
The different states for the action, such as completed or pending. |
False |
||||
| target |
The entity that the action operates on. |
False |
||||
| type |
The action type. |
False |