title: How can I send the data from fluentd in kubernetes cluster to the elasticsearch in remote standalone server outside cluster?
body: <p>I have three kubernetes cluster environments set up in GCP. 
  I have installed Fluentd as daemonset in all these environments to collect the logs from all the pods. 
  I have also installed elasticsearch and kibana in a separate server outside the cluster. 
  I need to feed the logs in fluentd to the elasticsearch in remote server and thereby run a centralised logging platform. </p>
  
  <p>How can I send the data from fluentd to the elasticsearch in remote server?</p>
  
  <p>The error received is:</p>
  
  <blockquote>
    <p>error_class=Fluent::Plugin::ElasticsearchOutput::ConnectionFailure error="Can not reach Elasticsearch cluster</p>
  </blockquote>