# Remove commas from integer filter

**URL:** <https://discuss.elastic.co/t/remove-commas-from-integer-filter/204148>\
**Category:** Logstash\
**Created:** [October 18, 2019, 1:19am UTC](https://discuss.elastic.co/t/remove-commas-from-integer-filter/204148 "2019-10-18T01:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sud0](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@sud0](https://discuss.elastic.co/u/sud0)\
**Post date:** [October 18, 2019, 1:19am UTC](https://discuss.elastic.co/t/remove-commas-from-integer-filter/204148/1 "2019-10-18T01:19:16Z")

</div>

Hi guys.

I am filtering customer id using the below:

`(%{NUMBER:customer-id:int}`

On my Kibana dashboard, I see it with `,` and I would like to take the commas out.

Example:

` **#** customer-id 389,542,059`

Expected:

` **#** customer-id 389542059`

How could I achieve that? Thanks!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 18, 2019, 11:57am UTC](https://discuss.elastic.co/t/remove-commas-from-integer-filter/204148/2 "2019-10-18T11:57:00Z")

</div>

> [@sud0](#):
>
> How could I achieve that?

That's a Kibana question, not a logstash question. You need to adjust the numeric field formatter.

---

<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:** [November 15, 2019, 11:57am UTC](https://discuss.elastic.co/t/remove-commas-from-integer-filter/204148/3 "2019-11-15T11:57:07Z")

</div>

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