# Filebeat, missing rows in elastic index

**URL:** <https://discuss.elastic.co/t/filebeat-missing-rows-in-elastic-index/211942>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 16, 2019, 6:00am UTC](https://discuss.elastic.co/t/filebeat-missing-rows-in-elastic-index/211942 "2019-12-16T06:00:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skowron-line](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skowron-line/32/43528_2.png) [@skowron-line](https://discuss.elastic.co/u/skowron-line)\
**Post date:** [December 16, 2019, 6:00am UTC](https://discuss.elastic.co/t/filebeat-missing-rows-in-elastic-index/211942/1 "2019-12-16T06:00:05Z")

</div>

Hi I have filebeat (7.4) with config as follows

```
filebeat:
  config:
    modules:
      path: /etc/filebeat/modules.d/*.yml
      reload:
        enabled: false
  inputs:
  - enabled: true
    paths:
    - /var/www/ewyszukiwarka/cli/var/log/dev-*.log
    type: log
output:
  logstash:
    hosts:
    - audit.logstash:5044
path:
  config: /etc/filebeat
  data: /var/lib/filebeat
  home: /usr/share/filebeat
  logs: /var/log/filebeat
processors:
- add_host_metadata: null
- add_cloud_metadata: null
setup:
  kibana: null
  template:
    settings:
      index:
        number_of_shards: 1

```

And from time to time, filebeat is not reading whole file, some rows are missing in my elasticsearch, for example I have file in which I have 887 lines, and I elasticsearch index there is only 878 documents. All log lines are the same, so its not mapping problem

---

<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:** [January 13, 2020, 6:00am UTC](https://discuss.elastic.co/t/filebeat-missing-rows-in-elastic-index/211942/2 "2020-01-13T06:00:05Z")

</div>

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