# Removing all comma(,) in a field

**URL:** <https://community.graylog.org/t/removing-all-comma-in-a-field/3964>\
**Category:** Graylog Central (peer support)\
**Created:** [January 29, 2018, 2:58pm UTC](https://community.graylog.org/t/removing-all-comma-in-a-field/3964 "2018-01-29T14:58:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaikumarkrishna](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jaikumarkrishna/32/1101_2.png) [@jaikumarkrishna](https://community.graylog.org/u/jaikumarkrishna)\
**Post date:** [January 29, 2018, 2:58pm UTC](https://community.graylog.org/t/removing-all-comma-in-a-field/3964/1 "2018-01-29T14:58:45Z")

</div>

Hi Team,

I have a field “Size”, which holds the data “123,456,456”.  
ie Size = 123,456,456

I need to remove the comma (,) from the data (ie Size = 123456456).  
How do i write a pipeline to achieve this?

Regards,  
Jayakumar.

---

<div class="post-metadata">

**Author:** ![madi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/madi/32/396_2.png) [@madi](https://community.graylog.org/u/madi)\
**Post date:** [January 29, 2018, 3:10pm UTC](https://community.graylog.org/t/removing-all-comma-in-a-field/3964/2 "2018-01-29T15:10:05Z")

</div>

Maybe use grok:

[,]\s+%{GREEDYDATA:message}

[https://discuss.elastic.co/t/remove-characters-in-grok/72548/2](https://discuss.elastic.co/t/remove-characters-in-grok/72548/2)

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [January 29, 2018, 4:01pm UTC](https://community.graylog.org/t/removing-all-comma-in-a-field/3964/3 "2018-01-29T16:01:41Z")

</div>

Related GitHub issue:

> <https://github.com/Graylog2/graylog-plugin-pipeline-processor/issues/171>

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [February 12, 2018, 4:01pm UTC](https://community.graylog.org/t/removing-all-comma-in-a-field/3964/4 "2018-02-12T16:01:47Z")

</div>

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