Alert clearing when another alert triggers

Is it possible to have an alert clear, when another alert triggers?

The use case is, I have an alert that triggers on a syslog message that find when an OSPF neighbor went down. This alert then never clears. I do not want it to autoclear until the ospf neighbor comes back up. I have another alert that then triggers when the OSPF neighbor comes back up.

Is there a way to have the first alert clear silently when the second one triggers or have the first alert clear on a specific syslog message that is different from the one that triggered it?