moving filter_alert_event() to conf file