# Configure logstash to receive different csv files with different fields

**URL:** <https://discuss.elastic.co/t/configure-logstash-to-receive-different-csv-files-with-different-fields/291451>\
**Category:** Logstash\
**Created:** [December 10, 2021, 5:59pm UTC](https://discuss.elastic.co/t/configure-logstash-to-receive-different-csv-files-with-different-fields/291451 "2021-12-10T17:59:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanchez](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@sanchez](https://discuss.elastic.co/u/sanchez)\
**Post date:** [December 10, 2021, 5:59pm UTC](https://discuss.elastic.co/t/configure-logstash-to-receive-different-csv-files-with-different-fields/291451/1 "2021-12-10T17:59:11Z")

</div>

Hello good mornig for everyone

I'm a beginner at Elasticsearch, Kibana, and Logstash

I am trying to configure logstash to receive different csv files with different fields, how can I configure logstash to be able to define the columns for these different csv files.

Could anyone help me, please.

---

<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:** [December 10, 2021, 6:16pm UTC](https://discuss.elastic.co/t/configure-logstash-to-receive-different-csv-files-with-different-fields/291451/2 "2021-12-10T18:16:08Z")

</div>

See [this](https://discuss.elastic.co/t/logstash-cant-recognize-csv-columns/196396/2) answer.

---

<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 7, 2022, 6:16pm UTC](https://discuss.elastic.co/t/configure-logstash-to-receive-different-csv-files-with-different-fields/291451/3 "2022-01-07T18:16:31Z")

</div>

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