# Bug with symbolic links given as input files ? \[Logstash 2.3.4\]

**URL:** <https://discuss.elastic.co/t/bug-with-symbolic-links-given-as-input-files-logstash-2-3-4/66459>\
**Category:** Logstash\
**Created:** [November 17, 2016, 9:43pm UTC](https://discuss.elastic.co/t/bug-with-symbolic-links-given-as-input-files-logstash-2-3-4/66459 "2016-11-17T21:43:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oristano](https://avatars.discourse-cdn.com/v4/letter/o/c37758/32.png) [@oristano](https://discuss.elastic.co/u/oristano)\
**Post date:** [November 17, 2016, 9:43pm UTC](https://discuss.elastic.co/t/bug-with-symbolic-links-given-as-input-files-logstash-2-3-4/66459/1 "2016-11-17T21:43:05Z")

</div>

Hello all 🙂

I'm working with Logstash 2.3.4 and I'm facing a strange problem regarding the behaviour of the input feature.

Here's the situation :

I work with a very simple input configuration :  
input {  
file {  
path =\> "/var/log/\*/logs"  
start\_position =\> "beginning"  
ignore\_older =\> 0 # Also take existing older files  
sincedb\_path =\> "/opt/logstash/conf/since.txt"  
}  
}

Under /var/log, I have 2 objects for each application : one folder and one symbolic link pointing to that folder, say :  
the folder /var/log/appli1/ and the symlink /var/log/appli1\_ln/ pointing to /var/log/appli1/  
Under /var/log/appli1/ is located the log file I want to parse ( /var/log/appli1/logs)

As an output, logstash processes the entire file for each single line added to /var/log/appli1/logs, if i delete the symlink, logstash goes back to a normal behaviour and outputs a single line for each new line added to the log.

Could you please help, I cannot remove the symbolic links as they are part of the implementation of my work infrastructure.

Thank you.

---

<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:** [December 15, 2016, 9:43pm UTC](https://discuss.elastic.co/t/bug-with-symbolic-links-given-as-input-files-logstash-2-3-4/66459/2 "2016-12-15T21:43:07Z")

</div>

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