# Path config for custom log integration?

**URL:** <https://discuss.elastic.co/t/path-config-for-custom-log-integration/262158>\
**Category:** Beats\
**Tags:** elastic-agent\
**Created:** [January 25, 2021, 6:38pm UTC](https://discuss.elastic.co/t/path-config-for-custom-log-integration/262158 "2021-01-25T18:38:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 25, 2021, 8:09pm UTC](https://discuss.elastic.co/t/path-config-for-custom-log-integration/262158/4 "2021-01-25T20:09:11Z")

</div>

Yes

Paths respect globs see [here](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html#input-paths)

A list of glob-based paths that will be crawled and fetched. All patterns supported by [Go Glob](https://golang.org/pkg/path/filepath/#Glob) are also supported here.

if you put a directory path with \* all files will be harvested...  
`/Users/<username>/Projects/GitLab/hello-world/path/to/my/logs/*`

if you do something like this only \*.log files will be harvested  
`/Users/<username>/Projects/GitLab/hello-world/path/to/my/logs/*.log`

---

_[View the full topic](https://discuss.elastic.co/t/path-config-for-custom-log-integration/262158)._
