Is it possible to connect Logstash 7.16 with Elasticsearch "8.1.0-SNAPSHOT"

is it possible to connect Logstash 7.16 with Elasticsearch "8.1.0-SNAPSHOT"

Logstash receives these events by using the Beats input plugin for Logstash and then sends the transaction to Elasticsearch by using the Elasticsearch output plugin for Logstash. The Elasticsearch output plugin uses the bulk API, making indexing very efficient.