# Filebeat 0 hits? Require help to resolve

**URL:** <https://discuss.elastic.co/t/filebeat-0-hits-require-help-to-resolve/49789>\
**Category:** Elasticsearch\
**Created:** [May 11, 2016, 2:59pm UTC](https://discuss.elastic.co/t/filebeat-0-hits-require-help-to-resolve/49789 "2016-05-11T14:59:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonard\_Larios\_Chan](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@Leonard\_Larios\_Chan](https://discuss.elastic.co/u/Leonard_Larios_Chan)\
**Post date:** [May 11, 2016, 2:59pm UTC](https://discuss.elastic.co/t/filebeat-0-hits-require-help-to-resolve/49789/1 "2016-05-11T14:59:25Z")

</div>

Hi!

I'm new to using the ELK stack and after configuring, installing the ELK stack and finally coming to filebeat, I can't seem to get a hit after running

curl -XGET '[http://localhost:9200/filebeat-\*/\_search?pretty](http://localhost:9200/filebeat-*/_search?pretty)'

and getting

{  
"\_index" : "filebeat-2016.01.29",  
"\_type" : "log",  
"\_id" : "AVKO98yuaHvsHQLa53HE",  
"\_score" : 1.0,  
"\_source":{"message":"Feb 3 14:34:00 rails sshd[963]: Server listening on :: port 22.","@version":"1","@timestamp":"2016-01-29T19:59:09.145Z","beat":{"hostname":"topbeat-u-03","name":"topbeat-u-03"},"count":1,"fields":null,"input\_type":"log","offset":70,"source":"/var/log/auth.log","type":"log","host":"topbeat-u-03"}  
}

like I'm supposed to. I am getting

{  
"took" : 1  
"timed\_out" : false,  
"\_shards" : {  
"total" : 0,  
"successful" : 0,  
"failed" : 0  
},  
"hits" : {  
"total" : 0  
"max\_score" : 0.0,  
"hits" : []  
}  
}

I can't seem to get it running and shown on the kibana discover page.

---

<div class="post-metadata">

**Author:** ![MarkOStewart](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@MarkOStewart](https://discuss.elastic.co/u/MarkOStewart)\
**Post date:** [May 11, 2016, 8:35pm UTC](https://discuss.elastic.co/t/filebeat-0-hits-require-help-to-resolve/49789/2 "2016-05-11T20:35:32Z")

</div>

it looks like filebeats is not sending files. It is creating the index but no documents are created.

I had luck when troubleshooting logstash and filebeats to send the output to stdout so you can immediately see what is being sent w/o running queries.

Are you using filebeats directly to Elasticsearch or to logstash and then elasticsearch?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2016, 10:45pm UTC](https://discuss.elastic.co/t/filebeat-0-hits-require-help-to-resolve/49789/3 "2016-05-11T22:45:10Z")

</div>

Please don't create multiple threads for the one issue - [Filebeat Installation 0 hits? Troubleshoot](https://discuss.elastic.co/t/filebeat-installation-0-hits-troubleshoot/49784)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2016, 10:45pm UTC](https://discuss.elastic.co/t/filebeat-0-hits-require-help-to-resolve/49789/4 "2016-05-11T22:45:13Z")

</div>


