# How to send event to other elasticsearch

**URL:** https://discuss.elastic.co/t/how-to-send-event-to-other-elasticsearch/128332
**Category:** Logstash
**Created:** [April 17, 2018, 10:14am UTC](https://discuss.elastic.co/t/how-to-send-event-to-other-elasticsearch/128332 "2018-04-17T10:14:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chenzilong444](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)
#### Post date: [April 17, 2018, 10:14am UTC](https://discuss.elastic.co/t/how-to-send-event-to-other-elasticsearch/128332/1 "2018-04-17T10:14:06Z")

</div>

```
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](http://114.113)  
.198.147:9200/", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool  
::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://114.113.198](http://114.113.198).  
147:9200/][Manticore::SocketException] Connection refused: connect"}

elasticsearch is installed on the server

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [April 17, 2018, 10:16am UTC](https://discuss.elastic.co/t/how-to-send-event-to-other-elasticsearch/128332/2 "2018-04-17T10:16:47Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![chenzilong444](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)
#### Post date: [April 17, 2018, 10:19am UTC](https://discuss.elastic.co/t/how-to-send-event-to-other-elasticsearch/128332/3 "2018-04-17T10:19:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 15, 2018, 10:26am UTC](https://discuss.elastic.co/t/how-to-send-event-to-other-elasticsearch/128332/4 "2018-05-15T10:26:54Z")

</div>

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