# Autodetect columns from header row - csv ingest

**URL:** <https://discuss.elastic.co/t/autodetect-columns-from-header-row-csv-ingest/92861>\
**Category:** Logstash\
**Created:** [July 12, 2017, 6:23pm UTC](https://discuss.elastic.co/t/autodetect-columns-from-header-row-csv-ingest/92861 "2017-07-12T18:23:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay224](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jay224](https://discuss.elastic.co/u/jay224)\
**Post date:** [July 12, 2017, 6:23pm UTC](https://discuss.elastic.co/t/autodetect-columns-from-header-row-csv-ingest/92861/1 "2017-07-12T18:23:14Z")

</div>

Is it possible to autodetect columns from header(first) row in csv file? I tried to use autodetect\_column\_names  
=\> true for logstash 5.5 that seems to be skipping actual header row and take second row as header row.  
Thanks

---

<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:** [August 9, 2017, 6:23pm UTC](https://discuss.elastic.co/t/autodetect-columns-from-header-row-csv-ingest/92861/2 "2017-08-09T18:23:29Z")

</div>

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