# Gsub remplace double double ("") quotes by space

**URL:** https://discuss.elastic.co/t/gsub-remplace-double-double-quotes-by-space/129070
**Category:** Logstash
**Created:** [April 23, 2018, 9:54am UTC](https://discuss.elastic.co/t/gsub-remplace-double-double-quotes-by-space/129070 "2018-04-23T09:54:20Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Jenni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenni/32/29684_2.png) [@Jenni](https://discuss.elastic.co/u/Jenni)
#### Post date: [April 23, 2018, 11:54am UTC](https://discuss.elastic.co/t/gsub-remplace-double-double-quotes-by-space/129070/6 "2018-04-23T11:54:29Z")

</div>

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.

---

_[View the full topic](https://discuss.elastic.co/t/gsub-remplace-double-double-quotes-by-space/129070)._
