# Csv header skip\_header =\> "true" not working

**URL:** https://discuss.elastic.co/t/csv-header-skip-header-true-not-working/273100
**Category:** Logstash
**Created:** [May 16, 2021, 6:27am UTC](https://discuss.elastic.co/t/csv-header-skip-header-true-not-working/273100 "2021-05-16T06:27:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bugsbee](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@Bugsbee](https://discuss.elastic.co/u/Bugsbee)
#### Post date: [May 16, 2021, 6:27am UTC](https://discuss.elastic.co/t/csv-header-skip-header-true-not-working/273100/1 "2021-05-16T06:27:25Z")

</div>

hello all,  
Im trying to use skip\_header =\> "true", this is because in kibana/discover the header is also coming out as a value. so i tried to add this parameter and it does not seem to working. In my case, this header does not repeat. so i dont to worry about the recurrence.

But for now my problem is that that, it also shows a value, and ofcourse it add as 1 hit in the report. I checked the forum seems a common problem , has anyone resolve this? i see in some forumit also suggest to use skip\_header so i tried it.

please help

example below screenshot  
 ![date_disvoer](https://us1.discourse-cdn.com/elastic/original/3X/0/d/0dd559ca51a1c5b29761d34cf8ff6e3c555c32a7.jpeg)

code:  
filter{  
if [type] == "XYZ" {  
csv{  
separator =\> ";"  
columns =\> ["Name", "IdNo", "Email"]  
skip\_header =\> "true"  
}  
}  
}

---

<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: [May 18, 2021, 9:24pm UTC](https://discuss.elastic.co/t/csv-header-skip-header-true-not-working/273100/3 "2021-05-18T21:24:56Z")

</div>

Have you set pipeline.workers to 1? Which version of logstash are you using?

---

<div class="post-metadata">

### Author: ![Bugsbee](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@Bugsbee](https://discuss.elastic.co/u/Bugsbee)
#### Post date: [May 21, 2021, 4:50pm UTC](https://discuss.elastic.co/t/csv-header-skip-header-true-not-working/273100/4 "2021-05-21T16:50:31Z")

</div>

thanks badger , but this one is fine now. appreciate your keen assistance.

---

<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: [June 18, 2021, 4:51pm UTC](https://discuss.elastic.co/t/csv-header-skip-header-true-not-working/273100/5 "2021-06-18T16:51:07Z")

</div>

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