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

@@ -59,7 +59,7 @@ func (u *InfluxUnifi) batchAlarms(r report, event *unifi.Alarm) { // nolint:dupl
"usgip": event.USGIP,
"proto": event.Proto,
"key": event.Key,
"catname": event.Catname,
"catname": event.Catname.String(),
"app_proto": event.AppProto,
"action": event.InnerAlertAction,
}),

View File

@@ -123,7 +123,7 @@ func (u *InfluxUnifi) 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,