Request you to create AF analysis with your condition e.g. If 'Temperature'>50 then 1 else NoOuput() and write to Output Counter tag. Use counter tag in event frame to trigger notification if EventCount('Counter','*-5m',*)>5.
Thank you, Lal, for the reply. This was the direction I was heading, but I had gotten the time syntax wrong. Thank you for helping to clarify my error!