# Specifying Filebeat paths with "-"

**URL:** <https://discuss.elastic.co/t/specifying-filebeat-paths-with/252043>\
**Category:** Beats\
**Created:** [October 14, 2020, 12:34pm UTC](https://discuss.elastic.co/t/specifying-filebeat-paths-with/252043 "2020-10-14T12:34:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saravana37](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saravana37/32/85237_2.png) [@Saravana37](https://discuss.elastic.co/u/Saravana37)\
**Post date:** [October 14, 2020, 12:34pm UTC](https://discuss.elastic.co/t/specifying-filebeat-paths-with/252043/1 "2020-10-14T12:34:55Z")

</div>

Hello All ,

I have a filebeat config like this

> ```
> - type: log
> enabled: true
> paths:
> - //XXXXXX/E122_WWUSA-OPRD-CmpLog/XXXX/XXXXX/*.log
> - //XXXXXX/E122_WWUSA-OPRD-CmpLog/XXXX/XXXXX/*.log
> 
> ```

I have the folder with hypon (-) E122\_WWUSA-OPRD-CmpLog in it , which is not recognized as a valid folder . Is there any way i can specify this in filebeat.yml ? . Please help.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 14, 2020, 2:53pm UTC](https://discuss.elastic.co/t/specifying-filebeat-paths-with/252043/2 "2020-10-14T14:53:59Z")

</div>

You should move this to the beats forum, it is not a logstash question.

---

<div class="post-metadata">

**Author:** ![Saravana37](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saravana37/32/85237_2.png) [@Saravana37](https://discuss.elastic.co/u/Saravana37)\
**Post date:** [October 15, 2020, 9:26am UTC](https://discuss.elastic.co/t/specifying-filebeat-paths-with/252043/3 "2020-10-15T09:26:02Z")

</div>

Apologies @Badger ,

Moved it now. Thanks for letting me know.

---

<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:** [November 12, 2020, 9:26am UTC](https://discuss.elastic.co/t/specifying-filebeat-paths-with/252043/4 "2020-11-12T09:26:05Z")

</div>

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