# Logs are missing in elasticsearch

**URL:** https://discuss.elastic.co/t/logs-are-missing-in-elasticsearch/139300
**Category:** Logstash
**Created:** [July 10, 2018, 8:51am UTC](https://discuss.elastic.co/t/logs-are-missing-in-elasticsearch/139300 "2018-07-10T08:51:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![clash\_of\_clanss](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@clash\_of\_clanss](https://discuss.elastic.co/u/clash_of_clanss)
#### Post date: [July 10, 2018, 8:51am UTC](https://discuss.elastic.co/t/logs-are-missing-in-elasticsearch/139300/1 "2018-07-10T08:51:26Z")

</div>

Hi,

I am sending log files to Elasticsearch cluster through logstash, but log lines are missing while searching in kibana and I haven't seen any error in logstash and elasticsearch side.

Thanks,

---

<div class="post-metadata">

### Author: ![nikhil.k](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nikhil.k](https://discuss.elastic.co/u/nikhil.k)
#### Post date: [July 11, 2018, 9:27am UTC](https://discuss.elastic.co/t/logs-are-missing-in-elasticsearch/139300/2 "2018-07-11T09:27:27Z")

</div>

Hi @clash_of_clanss,

After transferring the logs from logstash to elasticsearch. Use the command #curl -X GET "10.0.X.X:9200/\_cat/indices?v" on elasticsearch node to verify if the files are transferred correctly/properly or not.

You need to calculate the no total no of lines in log files(input) and match it with the "docs.count" parameter value (corresponding to the created index). If values differ then, there might be problem in transfer of logs from logstash to elasticsearch.

Thanks  
Nikhil Kapoor

---

<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: [August 8, 2018, 9:27am UTC](https://discuss.elastic.co/t/logs-are-missing-in-elasticsearch/139300/3 "2018-08-08T09:27:34Z")

</div>

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