Fix removal of perfdata in check results
This commit is contained in:
parent
1443e86ffa
commit
9e1c436410
|
@ -62,7 +62,7 @@ func BuildEventstreamEvent(e []byte) beat.Event {
|
|||
event.Fields.Put(target_key+"check_result.execution_end", FloatToTimestamp(checkResult["execution_end"].(float64)))
|
||||
event.Fields.Put(target_key+"check_result.schedule_start", FloatToTimestamp(checkResult["schedule_start"].(float64)))
|
||||
event.Fields.Put(target_key+"check_result.schedule_end", FloatToTimestamp(checkResult["schedule_end"].(float64)))
|
||||
event.Fields.Delete("check_result.performance_data")
|
||||
event.Fields.Delete(target_key+"check_result.performance_data")
|
||||
|
||||
case "AcknowledgementSet":
|
||||
event.Delete("comment")
|
||||
|
|
Loading…
Reference in New Issue