# Problems with values from paths other than the specified path

**URL:** <https://discuss.elastic.co/t/problems-with-values-from-paths-other-than-the-specified-path/170668>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 4, 2019, 4:35am UTC](https://discuss.elastic.co/t/problems-with-values-from-paths-other-than-the-specified-path/170668 "2019-03-04T04:35:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a86236df74eecab0f8a3](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@a86236df74eecab0f8a3](https://discuss.elastic.co/u/a86236df74eecab0f8a3)\
**Post date:** [March 4, 2019, 4:35am UTC](https://discuss.elastic.co/t/problems-with-values-from-paths-other-than-the-specified-path/170668/1 "2019-03-04T04:35:12Z")

</div>

hello.  
I wanted to analyze log informatins in real time by receiving them from the Wi-Fi terminal. so I used rsyslog to get logs and saved them as /var/log/remote.log.

filebeat.yml  
filebeat.inputs:

- type: log  
enabled: true  
paths:
  - /var/log/remote.log  
output.logstash:  
hosts: ["localhost:5043"]

logstash.conf  
input {  
beats {  
port =\> "5043"  
}  
}

It is working. however there are two problems.

1. The value does not come in real time.
2. I set the path to /var/log/remote.log but the /var/log/syslog, /var/log/syslog3, /var/log/syslog4 logs are also included.

What should i do?

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [March 6, 2019, 4:12pm UTC](https://discuss.elastic.co/t/problems-with-values-from-paths-other-than-the-specified-path/170668/2 "2019-03-06T16:12:23Z")

</div>

> 1. The value does not come in real time.

Are you parsing the date of the events, if you don't parse the date of the original event it will use a default date and events will appear to be created in batch instead of real time.

> I set the path to /var/log/remote.log but the /var/log/syslog, /var/log/syslog3, /var/log/syslog4 logs are also included.

Do you have any module enabled by default?

---

<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 3, 2019, 4:12pm UTC](https://discuss.elastic.co/t/problems-with-values-from-paths-other-than-the-specified-path/170668/3 "2019-04-03T16:12:25Z")

</div>

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