Can machine learning operate on correlated events?

To my knowledge there's no existing Logstash plug-in that gives this functionality. You may have to create your own custom plugin based on this other thread: Logstash transaction processing