# Filebeat 6.6.1(arm build) Harvester generate different inode for the same file

**URL:** https://discuss.elastic.co/t/filebeat-6-6-1-arm-build-harvester-generate-different-inode-for-the-same-file/171882
**Category:** Beats
**Tags:** filebeat
**Created:** [March 12, 2019, 7:13am UTC](https://discuss.elastic.co/t/filebeat-6-6-1-arm-build-harvester-generate-different-inode-for-the-same-file/171882 "2019-03-12T07:13:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kk1983](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@kk1983](https://discuss.elastic.co/u/kk1983)
#### Post date: [March 12, 2019, 7:13am UTC](https://discuss.elastic.co/t/filebeat-6-6-1-arm-build-harvester-generate-different-inode-for-the-same-file/171882/1 "2019-03-12T07:13:21Z")

</div>

Hello,  
I build the filebeat for ARM according to the wiki [How to install Filebeat on a ARM based SBC (eg. Raspberry Pi 3)](https://discuss.elastic.co/t/how-to-install-filebeat-on-a-arm-based-sbc-eg-raspberry-pi-3/103670/3)

# Then i replace the filebeat in filebeat-6.1.1-linux-x86\_64 with my just built filebeat. It does work. However, i found that when i modify my input, filebeat will create a new harvester for the file and check the input from the beginning. I found in the registry file, file beat generate a new inode for the same file when i make any modify. If i test the official firebeat release 6.61 with mac version, i don't see this behavior. Is there any way to solve the problem in arm build? below is the example in my registry for arm build

# [{"source":"/root/test.log","offset":1363,"timestamp":"2019-03-12T14:34:43.934308102+08:00","ttl":-1,"type":"log","meta":null,"FileStateOS":{"inode":38450,"device":45829}},{"source":"/root/test.log","offset":1376,"timestamp":"2019-03-12T14:36:13.941900602+08:00","ttl":-1,"type":"log","meta":null,"FileStateOS":{"inode":2874,"device":45829}},{"source":"/root/test.log","offset":0,"timestamp":"2019-03-12T14:36:42.942688504+08:00","ttl":-1,"type":"log","meta":null,"FileStateOS":{"inode":38479,"device":45829}}]

Every time i modify the input, there will be a new entry generated with different inode.

---

<div class="post-metadata">

### Author: ![kk1983](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@kk1983](https://discuss.elastic.co/u/kk1983)
#### Post date: [March 12, 2019, 8:46am UTC](https://discuss.elastic.co/t/filebeat-6-6-1-arm-build-harvester-generate-different-inode-for-the-same-file/171882/2 "2019-03-12T08:46:19Z")

</div>

I found the root cause now. Because i use vi command to modify the input file in ARM operation system. The vi command will change the inode with the input file.

---

<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: [April 9, 2019, 8:46am UTC](https://discuss.elastic.co/t/filebeat-6-6-1-arm-build-harvester-generate-different-inode-for-the-same-file/171882/3 "2019-04-09T08:46:22Z")

</div>

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