# Mcfee Epo XMl part contains unwanted \\".How to remove this

**URL:** <https://discuss.elastic.co/t/mcfee-epo-xml-part-contains-unwanted-how-to-remove-this/217519>\
**Category:** Logstash\
**Created:** [February 2, 2020, 11:20am UTC](https://discuss.elastic.co/t/mcfee-epo-xml-part-contains-unwanted-how-to-remove-this/217519 "2020-02-02T11:20:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ozil](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@Ozil](https://discuss.elastic.co/u/Ozil)\
**Post date:** [February 2, 2020, 11:20am UTC](https://discuss.elastic.co/t/mcfee-epo-xml-part-contains-unwanted-how-to-remove-this/217519/1 "2020-02-02T11:20:54Z")

</div>

Mcafee EPO XML part contains extra " " " .Because of this xml become invalid. i would like to replace " with ". is that possible.i tried with Gsub  
mutate {  
gsub =\> ["syslog5424\_msg","[\"]", """]  
}  
its not working

please advise on this

---

<div class="post-metadata">

**Author:** ![Ozil](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@Ozil](https://discuss.elastic.co/u/Ozil)\
**Post date:** [February 2, 2020, 11:25am UTC](https://discuss.elastic.co/t/mcfee-epo-xml-part-contains-unwanted-how-to-remove-this/217519/2 "2020-02-02T11:25:27Z")

</div>

i want to replace \" together to "

---

<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:** [March 1, 2020, 11:28am UTC](https://discuss.elastic.co/t/mcfee-epo-xml-part-contains-unwanted-how-to-remove-this/217519/3 "2020-03-01T11:28:50Z")

</div>

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