diff --git a/adaptors/知物云es告警组合聚集to触发爆闪.go b/adaptors/知物云es告警组合聚集to触发爆闪.go index ce86d3a..6780d35 100644 --- a/adaptors/知物云es告警组合聚集to触发爆闪.go +++ b/adaptors/知物云es告警组合聚集to触发爆闪.go @@ -25,7 +25,7 @@ type Adaptor_ZWY_AlarmCombin struct { func (the Adaptor_ZWY_AlarmCombin) Transform(config AlarmCombination.CombinationInfo, rawMsg string) []NeedPush { //20250704苏玮确认 小条件有一个告警就算有效,至少2个小条件告警, 触发大告警 - log.Printf("解析数据") + log.Printf("对比组合配置%s,解析数据", config.Name) esAggData := AlarmCombination.EsAggAlarm{} esAggData.Aggregations.GroupBySensor.Buckets = []AlarmCombination.BucketsSensorDataCount{} var needPush []NeedPush @@ -52,6 +52,7 @@ func (the Adaptor_ZWY_AlarmCombin) Transform(config AlarmCombination.Combination detailMsg += stationName } factorItemAlarmCounts += 1 + log.Printf("[f=%d]测点%s,存在有效告警", item.FactorId, stationName) break //一种类型有一个点就跳出 } else { log.Printf("测点[%d]无匹配的名称", stationId)