# Remove tab with dissect filter

**URL:** https://discuss.elastic.co/t/remove-tab-with-dissect-filter/128605
**Category:** Logstash
**Created:** [April 18, 2018, 9:37pm UTC](https://discuss.elastic.co/t/remove-tab-with-dissect-filter/128605 "2018-04-18T21:37:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)
#### Post date: [April 18, 2018, 9:37pm UTC](https://discuss.elastic.co/t/remove-tab-with-dissect-filter/128605/1 "2018-04-18T21:37:07Z")

</div>

I use dissect plugin for this esample of data file:  
--- begin file ---

14.76.162.112 # 2018-04-01  
--- end file ---

With this filter

```
filter {
   dissect {
      mapping => {
        "message" => "%{ip} # %{date}"
      }
   }
  }

```

This is the result

{"@timestamp":"2018-04-16T21:21:31.972Z","message":"112.111.191.14\t\t\t # 2018-04-07, "ip":"112.111.191.14\t\t\t","date":"2018-04-07"}

How can I remove the tab character?

---

<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: [May 16, 2018, 9:37pm UTC](https://discuss.elastic.co/t/remove-tab-with-dissect-filter/128605/2 "2018-05-16T21:37:43Z")

</div>

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