I'm having some trouble pulling info out of the event for my transform and need some help.
This is my transform -
ontName = getattr(evt,'enterprises.43188.8.131.52.184.108.40.206.[0-9]+','')
evt.summary = "ONT " + ontName + " battery low, check AXSVision client for more info on this alert."
And this is the info I'm trying to get from Event Details -
The issue is my transform is not getting AU-1-4-1-ONT from the event. I'm using a regex in the transform as the last 5 digits of the event can vary.
Anyone see why this isn't working?