Filebeat of windows to elastic search instance on ubuntu

I am trying to connect filebeat on windows to ES instance on ubuntu via logstash and getting the following error :

What do you mean by "via Logstash"? The log indicates that Filebeat is connecting directly to Elasticsearch.