# Issue redirecting output to Elasticsearch

**URL:** <https://discuss.elastic.co/t/issue-redirecting-output-to-elasticsearch/18591>\
**Category:** Elasticsearch\
**Created:** [July 10, 2014, 9:29pm UTC](https://discuss.elastic.co/t/issue-redirecting-output-to-elasticsearch/18591 "2014-07-10T21:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 10, 2014, 9:29pm UTC](https://discuss.elastic.co/t/issue-redirecting-output-to-elasticsearch/18591/1 "2014-07-10T21:29:49Z")

</div>

Hey,

I am using losgstash 1.4.2 and Elasticsearch 1.2.2. I am trying to output  
my logs on Elasticsearch cluster which is running on different machine from  
logstash server. The issue is my logs are not able to reach to  
ealsticsearch instance. Though I am able to get my logs in redis.  
What can be possible issue I should look for to solve the problem. I have  
not defined any elasticsearch indices, do i have to define the indexes  
explicitly.

Following is my logstash server configuration file

input {  
redis {  
host =\> "xx.xx.xx.xx"  
type =\> "redis-input"  
data\_type =\> "list"  
key =\> "logstash"  
}  
redis {  
host =\> "xx.xx.xx.xx"  
type =\> "redis-input"  
data\_type =\> "list"  
key =\> "logstash"  
}

}

filter {  
date {  
match =\>  
["timestamp\_nsstats",%{YEAR}-%{MONTHNUM}-%{MONTHDAY}[,]%{HOUR}:?%{MINUTE}(?::?%{SECOND})?"]  
}  
}

output {  
stdout { }  
elasticsearch {  
cluster =\> "logstash"  
host =\> "xx.xx.xx.xx"  
protocol =\> http  
port =\> "9200"  
}  
}

Any input will really help.

Thank you,  
Shriyansh

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/51fff7eb-e0b9-4d43-b2a1-6d695b9de51e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/51fff7eb-e0b9-4d43-b2a1-6d695b9de51e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:16am UTC](https://discuss.elastic.co/t/issue-redirecting-output-to-elasticsearch/18591/2 "2017-07-06T01:16:41Z")

</div>


