# How do I give input file path from a text file?

**URL:** <https://discuss.elastic.co/t/how-do-i-give-input-file-path-from-a-text-file/210666>\
**Category:** Logstash\
**Created:** [December 5, 2019, 9:40am UTC](https://discuss.elastic.co/t/how-do-i-give-input-file-path-from-a-text-file/210666 "2019-12-05T09:40:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Raghavan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_raghavan/32/58830_2.png) [@Ramesh\_Raghavan](https://discuss.elastic.co/u/Ramesh_Raghavan)\
**Post date:** [December 5, 2019, 9:40am UTC](https://discuss.elastic.co/t/how-do-i-give-input-file-path-from-a-text-file/210666/1 "2019-12-05T09:40:53Z")

</div>

if I have a input field in config file like this.

```
input {
  file {
    path => "/tmp/log.csv"
    start_position => "beginning"
  }
}

```

How do I give input file path from a text file?

---

<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:** [January 2, 2020, 9:40am UTC](https://discuss.elastic.co/t/how-do-i-give-input-file-path-from-a-text-file/210666/2 "2020-01-02T09:40:56Z")

</div>

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