Integrate EFK with altermanager

Hi everyone
I have installed Elasticsearch with Kibana and Fluentd that collects logs from my containers.
now I want to send logs that are in error state to Prometheus and alter manager, is there any way or other solution for alerting?
thanks for your helping.