# Exclude number

**URL:** <https://discuss.elastic.co/t/exclude-number/97535>\
**Category:** Kibana\
**Created:** [August 18, 2017, 8:35am UTC](https://discuss.elastic.co/t/exclude-number/97535 "2017-08-18T08:35:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Kovacs](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@Robert\_Kovacs](https://discuss.elastic.co/u/Robert_Kovacs)\
**Post date:** [August 18, 2017, 8:35am UTC](https://discuss.elastic.co/t/exclude-number/97535/1 "2017-08-18T08:35:00Z")

</div>

I have a bucket X-Axis Terms aggregation with numbers as my terms and I would like to use the advanced settings exclude to exclude a specific number. If I simply write the number, it says

> Visualize: Aggregation [2] cannot support regular expression style include/exclude settings as they can only be applied to string fields. Use an array of numeric values for include/exclude clauses used to filter numeric fields

How could that be done?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [August 18, 2017, 5:01pm UTC](https://discuss.elastic.co/t/exclude-number/97535/2 "2017-08-18T17:01:27Z")

</div>

Hi,

- Which version of Kibana is this?
- Can you include the JSON that you are currently trying with?

---

<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:** [September 15, 2017, 5:01pm UTC](https://discuss.elastic.co/t/exclude-number/97535/3 "2017-09-15T17:01:52Z")

</div>

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