# Elastic Agent System Integration

**URL:** <https://discuss.elastic.co/t/elastic-agent-system-integration/246607>\
**Category:** Beats\
**Tags:** filebeat, elastic-agent\
**Created:** [August 27, 2020, 11:29am UTC](https://discuss.elastic.co/t/elastic-agent-system-integration/246607 "2020-08-27T11:29:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hermlam](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@hermlam](https://discuss.elastic.co/u/hermlam)\
**Post date:** [August 27, 2020, 11:29am UTC](https://discuss.elastic.co/t/elastic-agent-system-integration/246607/1 "2020-08-27T11:29:53Z")

</div>

The Elastic Agent collects Filebeat logs. Within 'Fleet' I have the system-1 default. This module collects the logs form usual logfiles like /var/log/syslog\* etc.  
But also the logs from /var/lib/elastic-agent/logs/default/filebeat-json.log. Now I have all events duplicated. The latter ones are not parsed, the logs from /var/log are correctly parsed.

Why are there logs also collected?

Thanks,  
Herman

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [August 31, 2020, 1:19pm UTC](https://discuss.elastic.co/t/elastic-agent-system-integration/246607/2 "2020-08-31T13:19:26Z")

</div>

We definitively should not ship the logs twice. @blaker Could you comment on this?

---

<div class="post-metadata">

**Author:** ![blaker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blaker/32/65621_2.png) [@blaker](https://discuss.elastic.co/u/blaker)\
**Post date:** [August 31, 2020, 1:59pm UTC](https://discuss.elastic.co/t/elastic-agent-system-integration/246607/3 "2020-08-31T13:59:13Z")

</div>

That is because of [elastic/beats#19179](https://github.com/elastic/beats/issues/19179). We need to fix the logging we start filebeat and metricbeat with so that every published event is not logged.

---

<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:** [September 28, 2020, 3:59pm UTC](https://discuss.elastic.co/t/elastic-agent-system-integration/246607/4 "2020-09-28T15:59:26Z")

</div>

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