Specific Port on Specific Device Up/Down Alert

I’m trying to create an alert for my Network switches so I know when one of my uplink ports goes offline.

Here’s the down alert:

%devices.sysName ~ "SWITCHNAME" && %macros.port_down = 1 && %ports.ifDescr ~ 23

Here’s the up alert:
%devices.sysName ~ “SWITCHNAME” && %macros.port_down != 1 && %ports.ifDescr ~ 23

I’ve also tried ports.ifname rather than ports.ifDescr and equals rather than like. As I have different ports on different switches I want to monitor I was hoping to narrow it down to a specific port(s) on specific device(s).

Thanks!