Different version between Elasticsearch and Logstash

Thank you for your reply, Cad !
Then is there any way to downgrade Logstash ?
I have to do that in ubuntu 18.04 but I couldn't find the exact way