# Processing of multiple once created files

**URL:** <https://discuss.elastic.co/t/processing-of-multiple-once-created-files/140004>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 13, 2018, 7:18pm UTC](https://discuss.elastic.co/t/processing-of-multiple-once-created-files/140004 "2018-07-13T19:18:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pazderak](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@pazderak](https://discuss.elastic.co/u/pazderak)\
**Post date:** [July 13, 2018, 7:18pm UTC](https://discuss.elastic.co/t/processing-of-multiple-once-created-files/140004/1 "2018-07-13T19:18:15Z")

</div>

hello,  
my application creates the log records as separate files, each log record is in one file. I tried to configure FileBeat to process them and send to logstash, but with no success.  
I used the latest available version of FileBeat (6.3.1) on Windows.  
My configuration look like:

```auto
filebeat.inputs:
- type: log
  paths:
    - C:\Temp\Errors\*.json
  json:
    keys_under_root: true
    overwrite_keys: true
  fields_under_root: true
  fields:
    "@by": filebeat
    "@env": dev-vagrant
  close_eof: true

filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false

setup.template.settings:
  index.number_of_shards: 3

output.logstash:
  enabled: true
  hosts: ["localhost:10300"]
  ssl:
    enabled: true
    verification_mode: none

```

Thank you for your response.

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [July 13, 2018, 9:37pm UTC](https://discuss.elastic.co/t/processing-of-multiple-once-created-files/140004/2 "2018-07-13T21:37:03Z")

</div>

Hi @pazderak and welcome 🙂

What problems are you having? No log is being sent?

You can check if filebeat is reading the logs by reading filebeat logs, there should be a line about harvesting started for each line.

Something that could be happening if files are being harvested but not sent is that filebeat needs files to be ended by a newline, could it be that your log files don't have it?

---

<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 10, 2018, 9:37pm UTC](https://discuss.elastic.co/t/processing-of-multiple-once-created-files/140004/3 "2018-08-10T21:37:05Z")

</div>

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