# How can I ignore or stop to load the headers from the '.tsv' file?

**URL:** <https://discuss.elastic.co/t/how-can-i-ignore-or-stop-to-load-the-headers-from-the-tsv-file/163579>\
**Category:** Logstash\
**Created:** [January 9, 2019, 4:23pm UTC](https://discuss.elastic.co/t/how-can-i-ignore-or-stop-to-load-the-headers-from-the-tsv-file/163579 "2019-01-09T16:23:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surajbs](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@surajbs](https://discuss.elastic.co/u/surajbs)\
**Post date:** [January 9, 2019, 4:23pm UTC](https://discuss.elastic.co/t/how-can-i-ignore-or-stop-to-load-the-headers-from-the-tsv-file/163579/1 "2019-01-09T16:23:02Z")

</div>

I am using logstash to read '.tsv' file and load into elasticsearch, but it is even reading headers as a document/record.

How can I ignore or stop to load the headers from the file ?

Any suggestion would be helpful.

Thank you.

Regards,  
Suraj

---

<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:** [January 9, 2019, 5:06pm UTC](https://discuss.elastic.co/t/how-can-i-ignore-or-stop-to-load-the-headers-from-the-tsv-file/163579/2 "2019-01-09T17:06:40Z")

</div>

Use a [csv filter](https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html) with skip\_header set true and separator set to a tab character.

---

<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:** [February 6, 2019, 5:06pm UTC](https://discuss.elastic.co/t/how-can-i-ignore-or-stop-to-load-the-headers-from-the-tsv-file/163579/3 "2019-02-06T17:06:43Z")

</div>

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