# Duplicate data from filebeat (input type: log)

**URL:** <https://discuss.elastic.co/t/duplicate-data-from-filebeat-input-type-log/315221>\
**Category:** Elastic Agent\
**Created:** [September 26, 2022, 11:27pm UTC](https://discuss.elastic.co/t/duplicate-data-from-filebeat-input-type-log/315221 "2022-09-26T23:27:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sathishpal](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sathishpal](https://discuss.elastic.co/u/sathishpal)\
**Post date:** [September 26, 2022, 11:27pm UTC](https://discuss.elastic.co/t/duplicate-data-from-filebeat-input-type-log/315221/1 "2022-09-26T23:27:23Z")

</div>

Hi All,

Duplicate data is sent from Filebeat.  
When I start the elastic agent, I can see two filebeat processes running. If I Kill the first one it auto restarts and the second one disappears when I kill it twice. Once the second process is killed, there are no duplicate data coming in.  
Am I missing any configuration here?

Elastic Agent version 8.3.3

Filebeat.yml

```auto
filebeat.inputs:

- type: log
  enabled: true
  paths:
    - C:\MVD2\Logs\ECS*.log
  json.keys_under_root: true
  json.overwrite_keys: true
  json.add_error_key: true
  json.expand_keys: true

```

---

<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:** [October 24, 2022, 11:28pm UTC](https://discuss.elastic.co/t/duplicate-data-from-filebeat-input-type-log/315221/2 "2022-10-24T23:28:06Z")

</div>

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