# Multiple logs are getting dumped because inode value of same file is different on each server(server that have auto scalling)

**URL:** <https://discuss.elastic.co/t/multiple-logs-are-getting-dumped-because-inode-value-of-same-file-is-different-on-each-server-server-that-have-auto-scalling/190668>\
**Category:** Logstash\
**Created:** [July 16, 2019, 7:47am UTC](https://discuss.elastic.co/t/multiple-logs-are-getting-dumped-because-inode-value-of-same-file-is-different-on-each-server-server-that-have-auto-scalling/190668 "2019-07-16T07:47:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arpita\_Awasthi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arpita_awasthi/32/50224_2.png) [@Arpita\_Awasthi](https://discuss.elastic.co/u/Arpita_Awasthi)\
**Post date:** [July 16, 2019, 7:47am UTC](https://discuss.elastic.co/t/multiple-logs-are-getting-dumped-because-inode-value-of-same-file-is-different-on-each-server-server-that-have-auto-scalling/190668/1 "2019-07-16T07:47:47Z")

</div>

We have Linux servers in the cloud having "auto-scaling".  
The logs of the servers are created in the shared path(named /logs).PFA the format of the log path:

Syntax : /logs///server.log  
Example: /logs/HOSTNAME0/2019-03-01/server.log

inode value of the same file is different on each server. Due to this, the sincedb is not working as it is supposed to.  
Example:

inode value of file @ path /logs/HOSTNAME0/2019-06-20-13:55/server.log on server 1: 654  
inode value of file @ path /logs/HOSTNAME0/2019-06-20-13:55/server.log on server 2 :151

If we do the input configuration like : /logs/_/_/server.log  
then the same logs are being sent from all the servers.

Any inputs as to how we can go about fixing this issue and get our setup up and running. Much appreciated.

---

<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 13, 2019, 7:54am UTC](https://discuss.elastic.co/t/multiple-logs-are-getting-dumped-because-inode-value-of-same-file-is-different-on-each-server-server-that-have-auto-scalling/190668/2 "2019-08-13T07:54:28Z")

</div>

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