# Filter data after a slash

**URL:** <https://discuss.elastic.co/t/filter-data-after-a-slash/111163>\
**Category:** Logstash\
**Created:** [December 11, 2017, 7:20pm UTC](https://discuss.elastic.co/t/filter-data-after-a-slash/111163 "2017-12-11T19:20:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scch/32/25504_2.png) [@scch](https://discuss.elastic.co/u/scch)\
**Post date:** [December 11, 2017, 7:20pm UTC](https://discuss.elastic.co/t/filter-data-after-a-slash/111163/1 "2017-12-11T19:20:04Z")

</div>

hi, I am trying to filter out the value which is after slash through Logstash from "DMZ\L8978899"

## ERROR: No output in ruby codec ERROR in logs : Cannot create pipeline {:reason=\>"Expected one of #, { at line 98, column 7 (byte 1887)

_line 98:_  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7c51395bd980b1350ecd9996028cf02b1f16e7ab.png)

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 12, 2017, 7:04am UTC](https://discuss.elastic.co/t/filter-data-after-a-slash/111163/2 "2017-12-12T07:04:56Z")

</div>

Please show the whole configuration file. Post it as preformatted text.

---

<div class="post-metadata">

**Author:** ![scch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scch/32/25504_2.png) [@scch](https://discuss.elastic.co/u/scch)\
**Post date:** [December 13, 2017, 2:56pm UTC](https://discuss.elastic.co/t/filter-data-after-a-slash/111163/3 "2017-12-13T14:56:59Z")

</div>

Thanks For your response.....  
i was able to resolve, apology for bugging you guys for small things.

---

<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:** [January 10, 2018, 2:57pm UTC](https://discuss.elastic.co/t/filter-data-after-a-slash/111163/4 "2018-01-10T14:57:01Z")

</div>

Closed on January 10, 2018, 2:57pm UTC

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