# No output received in elasticsearch

**URL:** <https://discuss.elastic.co/t/no-output-received-in-elasticsearch/84918>\
**Category:** Logstash\
**Created:** [May 8, 2017, 10:49am UTC](https://discuss.elastic.co/t/no-output-received-in-elasticsearch/84918 "2017-05-08T10:49:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LmYjQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lmyjq/32/97480_2.png) [@LmYjQ](https://discuss.elastic.co/u/LmYjQ)\
**Post date:** [May 8, 2017, 10:49am UTC](https://discuss.elastic.co/t/no-output-received-in-elasticsearch/84918/1 "2017-05-08T10:49:38Z")

</div>

I've got the following debug info

> 18:40:43.230 [[main]\>worker1] DEBUG logstash.pipeline - output received {"event"=\>{"gender"=\>"", "type"=\>"report\_video", "author\_version"=\>"None", "platform"=\>"weixin", "\_ext"=\>{"content"=\>"超赞👍"}, "act"=\>"video\_comment", "register\_at"=\>"2017-02-11 19:25:22", "author\_registered\_at"=\>nil, "@version"=\>"1", "place"=\>nil, "first\_at"=\>"2017-02-11 18:49:07", "udid"=\>"871b0690b44eaf7c", "author\_udid"=\>"None", "doer\_id"=\>9472741, "author\_zone"=\>nil, "os"=\>"and", "race"=\>"user", "author\_is\_priest"=\>nil, "timewindow"=\>2490444, "author\_os"=\>"None", "version"=\>"and-4.2.2", "age\_zone"=\>0, "@timestamp"=\>2017-05-08T10:40:42.507Z, "logged\_at"=\>"2017-05-08 18:03:44", "post\_id"=\>nil, "user\_id"=\>9472741, "\_task\_id"=\>482886, "\_id"=\>472745462, "author\_id"=\>7642061, "video\_id"=\>57752095}}

but kibana can't find any hits.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/d/a/dae8712f5798c82a76ee1050f2531cac9051f600.png)

my config is as follow:

> input {  
> redis {  
> host =\> "localhost"  
> data\_type =\> "list"  
> key =\> "access"  
> type =\> "access"  
> }  
> redis {  
> host =\> "localhost"  
> data\_type =\> "list"  
> key =\> "report\_video"  
> type =\> "report\_video"  
> }  
> }

> filter {  
> json {  
> source =\> "message"  
> }

> }

> output {  
> elasticsearch {  
> hosts =\> "localhost:9200"  
> codec =\> "json"  
> index =\> "rawdata"  
> }  
> }

anyone have some idea about this? Thanks a lot!

---

<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:** [May 8, 2017, 7:37pm UTC](https://discuss.elastic.co/t/no-output-received-in-elasticsearch/84918/2 "2017-05-08T19:37:29Z")

</div>

Don't set the `codec` option for the elasticsearch output. Secondly, are you sure the time range you've chosen in Kibana covers the time of your events? Have you checked with ES's cat indices API that the index exists and that it contains documents? Have you looked in the Logstash log for clues?

---

<div class="post-metadata">

**Author:** ![LmYjQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lmyjq/32/97480_2.png) [@LmYjQ](https://discuss.elastic.co/u/LmYjQ)\
**Post date:** [May 9, 2017, 1:20am UTC](https://discuss.elastic.co/t/no-output-received-in-elasticsearch/84918/3 "2017-05-09T01:20:26Z")

</div>

Thank you Magnus. I have fixed this issue.  
The reason is that I have an "\_id" field which is conflict with the metadata field has the same name.  
The debug information appeared below. I found that after that.

---

<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:** [June 6, 2017, 1:35am UTC](https://discuss.elastic.co/t/no-output-received-in-elasticsearch/84918/4 "2017-06-06T01:35:07Z")

</div>

Closed on June 6, 2017, 1:35am UTC

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