# How to read csv files from another machine /server and How define path in logstash config file or in filebeat yml file?

**URL:** <https://discuss.elastic.co/t/how-to-read-csv-files-from-another-machine-server-and-how-define-path-in-logstash-config-file-or-in-filebeat-yml-file/313075>\
**Category:** Elasticsearch\
**Created:** [August 28, 2022, 6:12am UTC](https://discuss.elastic.co/t/how-to-read-csv-files-from-another-machine-server-and-how-define-path-in-logstash-config-file-or-in-filebeat-yml-file/313075 "2022-08-28T06:12:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbkunbi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bbkunbi/32/107767_2.png) [@bbkunbi](https://discuss.elastic.co/u/bbkunbi)\
**Post date:** [August 28, 2022, 6:12am UTC](https://discuss.elastic.co/t/how-to-read-csv-files-from-another-machine-server-and-how-define-path-in-logstash-config-file-or-in-filebeat-yml-file/313075/1 "2022-08-28T06:12:26Z")

</div>

```auto
input {
file {
path => "/home/bhaveshk/.*csv" (How to define path here to read csv file from another machine/server)
start_position => "beginning"
sincedb_path => "/dev/null"
}

```

---

<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:** [September 25, 2022, 6:13am UTC](https://discuss.elastic.co/t/how-to-read-csv-files-from-another-machine-server-and-how-define-path-in-logstash-config-file-or-in-filebeat-yml-file/313075/2 "2022-09-25T06:13:00Z")

</div>

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