I want every event coming to elasticsearch to be sent as an alert

It sends an alert whenever it wants. I want to send a notification for the event that comes every second.