# CSV Illegal Quoting in Line 1

**URL:** https://discuss.elastic.co/t/csv-illegal-quoting-in-line-1/289834
**Category:** Logstash
**Created:** [November 22, 2021, 4:07pm UTC](https://discuss.elastic.co/t/csv-illegal-quoting-in-line-1/289834 "2021-11-22T16:07:36Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![Micah\_Barsness](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/micah_barsness/32/83318_2.png) [@Micah\_Barsness](https://discuss.elastic.co/u/Micah_Barsness)
#### Post date: [December 8, 2021, 8:19pm UTC](https://discuss.elastic.co/t/csv-illegal-quoting-in-line-1/289834/14 "2021-12-08T20:19:33Z")

</div>

Thoughts on using something similar to this?

> [@Gsub remplace double double ("") quotes by space](https://discuss.elastic.co/t/gsub-remplace-double-double-quotes-by-space/129070/6):
>
> I had executed the following test: mutate { add\_field =\> {"msg" =\> '""toto toto" sip:+4999999999@10.58.12.00;user=phone;tag=8b1adde9f755210b19546545b056e2c555504"'}} mutate { gsub =\> ["msg","\"\""," "] } and got "msg" =\> " toto toto\" sip:+4999999999@10.58.12.00;user=phone;tag=8b1adde9f755210b19546545b056e2c555504\"", That looks right to me.

Also, where in my config would I need to put that?

---

_[View the full topic](https://discuss.elastic.co/t/csv-illegal-quoting-in-line-1/289834)._
