# Need help configuring Filebeat Path

**URL:** <https://discuss.elastic.co/t/need-help-configuring-filebeat-path/225401>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 27, 2020, 12:22pm UTC](https://discuss.elastic.co/t/need-help-configuring-filebeat-path/225401 "2020-03-27T12:22:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattness](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattness/32/52975_2.png) [@Mattness](https://discuss.elastic.co/u/Mattness)\
**Post date:** [March 27, 2020, 12:22pm UTC](https://discuss.elastic.co/t/need-help-configuring-filebeat-path/225401/1 "2020-03-27T12:22:21Z")

</div>

Hello everyone,

I am trying to send some log data to Elasticsearch with Filebeat.

All the log files are contained in subdirectories inside a directory.

E.g. C:\Users\Me\Desktop\Storage\2019-06-13\11\*.log

I want Filebeat to read and upload all the .log files inside the Storage directory.

How do I have to phrase the path in .yml in order to make this work?

I tried: C:\Users\Me\Desktop\Storage\*\*.log without any sucess.

Also I have disabled all other paths but Filebeat is still sending metric data to Elasticsearch, although not to a Filebeat-\* index but rather to my already existing metricbeat-\* index. Is that normal?

Any help is very much appreciated 🙂

---

<div class="post-metadata">

**Author:** ![Mattness](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattness/32/52975_2.png) [@Mattness](https://discuss.elastic.co/u/Mattness)\
**Post date:** [March 27, 2020, 12:40pm UTC](https://discuss.elastic.co/t/need-help-configuring-filebeat-path/225401/2 "2020-03-27T12:40:36Z")

</div>

C:\Users\Me\Desktop\Storage\*\*\*.log did the trick.

---

<div class="post-metadata">

**Author:** ![Mattness](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattness/32/52975_2.png) [@Mattness](https://discuss.elastic.co/u/Mattness)\
**Post date:** [March 30, 2020, 11:30am UTC](https://discuss.elastic.co/t/need-help-configuring-filebeat-path/225401/3 "2020-03-30T11:30:30Z")

</div>

sorry, meant to write.../Storage/\*\*/\*.log

---

<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 27, 2020, 11:30am UTC](https://discuss.elastic.co/t/need-help-configuring-filebeat-path/225401/4 "2020-04-27T11:30:37Z")

</div>

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