# Filebeat will choose the paths depending on your OS. - Listing?

**URL:** <https://discuss.elastic.co/t/filebeat-will-choose-the-paths-depending-on-your-os-listing/170094>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 27, 2019, 3:55am UTC](https://discuss.elastic.co/t/filebeat-will-choose-the-paths-depending-on-your-os-listing/170094 "2019-02-27T03:55:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scraper](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Scraper](https://discuss.elastic.co/u/Scraper)\
**Post date:** [February 27, 2019, 3:55am UTC](https://discuss.elastic.co/t/filebeat-will-choose-the-paths-depending-on-your-os-listing/170094/1 "2019-02-27T03:55:35Z")

</div>

Is there a listing of the paths per OS?

Running CentOS 7 and seem to be finding a lack of path information disturbing.  
The default modules say "Filebeat will choose the paths depending on your OS."  
How do I know if Filebeat actually knows the log file paths?

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [February 27, 2019, 4:39am UTC](https://discuss.elastic.co/t/filebeat-will-choose-the-paths-depending-on-your-os-listing/170094/2 "2019-02-27T04:39:30Z")

</div>

Most linux distributions will log to `/var/log/program/xyz.log`. Simililary, windows have a different log path by default, so FileBeat will read logs from those paths when those **modules are enabled**.

For any custom use-cases you will have to configure the path.

---

<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:** [March 27, 2019, 4:39am UTC](https://discuss.elastic.co/t/filebeat-will-choose-the-paths-depending-on-your-os-listing/170094/3 "2019-03-27T04:39:37Z")

</div>

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