# Can't configure filebeat to only send new added log content

**URL:** <https://discuss.elastic.co/t/cant-configure-filebeat-to-only-send-new-added-log-content/204927>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 23, 2019, 5:37pm UTC](https://discuss.elastic.co/t/cant-configure-filebeat-to-only-send-new-added-log-content/204927 "2019-10-23T17:37:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pepper\_Pam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pepper_pam/32/56455_2.png) [@Pepper\_Pam](https://discuss.elastic.co/u/Pepper_Pam)\
**Post date:** [October 23, 2019, 5:37pm UTC](https://discuss.elastic.co/t/cant-configure-filebeat-to-only-send-new-added-log-content/204927/1 "2019-10-23T17:37:46Z")

</div>

I used filebeat to connect to Kafka.  
Everytime I add some new lines to the log file, I want filebeat only output this contents to Kafka.  
My Input of filebeat.yml as below:  
filebeat.inputs:

- type: log  
enabled: true  
paths:
  - /Users/ll/Documents/test06.log  
tail\_files: true

And I Start filebeat using below command:

brew services start elastic/tap/filebeat-full  
cd /usr/local/etc/filebeat/  
filebeat -e -c filebeat.yml -d "publish"

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 23, 2019, 5:43pm UTC](https://discuss.elastic.co/t/cant-configure-filebeat-to-only-send-new-added-log-content/204927/2 "2019-10-23T17:43:51Z")

</div>

Please do not open multiple threads about the same issue. I responded to the other thread.

---

<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:** [November 20, 2019, 5:43pm UTC](https://discuss.elastic.co/t/cant-configure-filebeat-to-only-send-new-added-log-content/204927/3 "2019-11-20T17:43:52Z")

</div>

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