# Problem to replace field string "|" with mutate gsub filter

**URL:** <https://discuss.elastic.co/t/problem-to-replace-field-string-with-mutate-gsub-filter/232116>\
**Category:** Logstash\
**Created:** [May 11, 2020, 9:48pm UTC](https://discuss.elastic.co/t/problem-to-replace-field-string-with-mutate-gsub-filter/232116 "2020-05-11T21:48:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![esportuga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/esportuga/32/45918_2.png) [@esportuga](https://discuss.elastic.co/u/esportuga)\
**Post date:** [May 11, 2020, 10:12pm UTC](https://discuss.elastic.co/t/problem-to-replace-field-string-with-mutate-gsub-filter/232116/3 "2020-05-11T22:12:40Z")

</div>

Ok

Im fixed this with

> [@LogStatsh- Grok Filter for Special character in the log file](https://discuss.elastic.co/t/logstatsh-grok-filter-for-special-character-in-the-log-file/120360):
>
> Hi, I have the below log pattern in a single line and trying to filter this from massive log using GROK FIlter 2018-02-17 17:00:12.7280 Information |||| Application: Hyperion |||| User: Teddy |||| Template: Homepage |||| Report: FINREP |||| ExecutionTime: 200 ms I have used this below grok filter however ( havent build the complete grok yet) however it couldn't identify how to filer the special Character |||| from this; could you please advise on how to capture the special characters |||| …

---

_[View the full topic](https://discuss.elastic.co/t/problem-to-replace-field-string-with-mutate-gsub-filter/232116)._
