ApiEvent Data Model

Events model noteworthy incidents in Cloudera Manager or the managed Hadoop cluster. An event carries its event category, severity, and a string content. They also have generic attributes, which are free-form key value pairs. Important events may be promoted into alerts.

Properties
name data type description
id string A unique ID for this event.
content string The content payload of this event.
timeOccurred string When the event was generated.
timeReceived string When the event was stored by Cloudera Manager. Events do not arrive in the order that they are generated. If you are writing an event poller, this is a useful field to query.
category ApiEventCategory The category of this event -- whether it is a health event, an audit event, an activity event, etc.
severity ApiEventSeverity The severity of the event.
alert boolean Whether the event is promoted to an alert according to configuration. Defaults to false
attributes array of ApiEventAttribute A list of key-value attribute pairs.

Example

{
  "id" : "...",
  "content" : "...",
  "timeOccurred" : "...",
  "timeReceived" : "...",
  "category" : "HBASE",
  "severity" : "INFORMATIONAL",
  "alert" : true,
  "attributes" : [ {
    "name" : "...",
    "values" : [ "...", "..." ]
  }, {
    "name" : "...",
    "values" : [ "...", "..." ]
  } ]
}