How to send event to other elasticsearch

output {
		elasticsearch { 
						hosts => ["114.113.198.147:9200"]	  	
						index => "log"  
						document_type =>"logstash"
		}   
		stdout {  
            codec => rubydebug
        }
}

[2018-04-17T18:10:22,805][INFO ][logstash.outputs.elasticsearch] Running health
check to see if an Elasticsearch connection is working {:healthcheck_url=>http:/
/114.113.198.147:9200/, :path=>"/"}
[2018-04-17T18:10:23,903][WARN ][logstash.outputs.elasticsearch] Attempted to re
surrect connection to dead ES instance, but got an error. {:url=>"http://114.113
.198.147:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool
::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://114.113.198.
147:9200/][Manticore::SocketException] Connection refused: connect"}

elasticsearch is installed on the server

Elasticsearch might be installed and even up and running, but it isn't listening on port 9200 of 114.113.198.147 (or a firewall is blocking the access).

i get this ip by ping domain ,the domain can open kibana
did i correct

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.