# Multiple file paths for the path parameter in Logstash 7.10

**URL:** <https://discuss.elastic.co/t/multiple-file-paths-for-the-path-parameter-in-logstash-7-10/265640>\
**Category:** Logstash\
**Created:** [February 26, 2021, 5:03pm UTC](https://discuss.elastic.co/t/multiple-file-paths-for-the-path-parameter-in-logstash-7-10/265640 "2021-02-26T17:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lostsoul352](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lostsoul352](https://discuss.elastic.co/u/lostsoul352)\
**Post date:** [February 26, 2021, 5:03pm UTC](https://discuss.elastic.co/t/multiple-file-paths-for-the-path-parameter-in-logstash-7-10/265640/1 "2021-02-26T17:03:13Z")

</div>

According to the Logstash 7.10 [documentation](https://www.elastic.co/guide/en/logstash/7.10/configuration-file-structure.html#array) the Path parameter for logstash file input is an array. I tried this:

```auto
    file {
            path => ["/data/logs/testing/servers/ **/server*.log", "/data/logs/testing/servers/** /ignite.server*.log"]

```

But nothing was sent to elastic. If I try it with an individual file it works fine. Have I got the syntax correct for specifying multiple files for the path parameter?

---

<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 26, 2021, 5:03pm UTC](https://discuss.elastic.co/t/multiple-file-paths-for-the-path-parameter-in-logstash-7-10/265640/2 "2021-03-26T17:03:38Z")

</div>

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