This commit is contained in:
Cody Lee
2024-04-19 15:43:00 -05:00
parent 1367ddbd38
commit 4bd56677c9
6 changed files with 7 additions and 7 deletions

View File

@@ -53,11 +53,11 @@ func (u *DatadogUnifi) batchAlarms(r report, event *unifi.Alarm) { // nolint:dup
"usg_ip": event.USGIP,
"proto": event.Proto,
"key": event.Key,
"catname": event.Catname,
"catname": event.Catname.String(),
"app_proto": event.AppProto,
"action": event.InnerAlertAction,
}
r.addCount(alarmT)
tagMap = cleanTags(tagMap)

View File

@@ -113,7 +113,7 @@ func (u *DatadogUnifi) batchEvent(r report, i *unifi.Event) { // nolint: funlen
"gw_name": i.GwName,
"sw": i.Sw,
"sw_name": i.SwName,
"catname": i.Catname,
"catname": i.Catname.String(),
"radio": i.Radio,
"radio_from": i.RadioFrom,
"radio_to": i.RadioTo,