# Logstash csv / First Line Index

**URL:** https://discuss.elastic.co/t/logstash-csv-first-line-index/237755
**Category:** Logstash
**Created:** [June 19, 2020, 7:39am UTC](https://discuss.elastic.co/t/logstash-csv-first-line-index/237755 "2020-06-19T07:39:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xennn](https://avatars.discourse-cdn.com/v4/letter/x/7bcc69/32.png) [@xennn](https://discuss.elastic.co/u/xennn)
#### Post date: [June 19, 2020, 7:39am UTC](https://discuss.elastic.co/t/logstash-csv-first-line-index/237755/1 "2020-06-19T07:39:43Z")

</div>

Hello,

I use Logstash CSV Filter Plugin to index data using Powershell scripts. I want the first line not to be indexed as a record. Do you know how to do that?

---

<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: [June 22, 2020, 11:03pm UTC](https://discuss.elastic.co/t/logstash-csv-first-line-index/237755/2 "2020-06-22T23:03:56Z")

</div>

That is what the [skip\_header](https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html#plugins-filters-csv-skip_header) option is for.

---

<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: [July 20, 2020, 11:03pm UTC](https://discuss.elastic.co/t/logstash-csv-first-line-index/237755/3 "2020-07-20T23:03:59Z")

</div>

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