# How to filter out "-" values in Kibana?

**URL:** https://discuss.elastic.co/t/how-to-filter-out-values-in-kibana/309389
**Category:** Kibana
**Created:** [July 12, 2022, 8:36am UTC](https://discuss.elastic.co/t/how-to-filter-out-values-in-kibana/309389 "2022-07-12T08:36:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mebravo](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@Mebravo](https://discuss.elastic.co/u/Mebravo)
#### Post date: [July 12, 2022, 8:36am UTC](https://discuss.elastic.co/t/how-to-filter-out-values-in-kibana/309389/1 "2022-07-12T08:36:02Z")

</div>

Hi,

I am trying to visualize the top process with their CPU percentage. However, when I put this in a table some values are "-". These are also sorted above normal percentages. Is there a way to filter these values out or sort the under normal percentages?

Same problem when using _Top N_. This picture is with the filter: `system.process.cpu.total.norm : *`

 ![Screenshot from 2022-07-12 14-43-25](https://us1.discourse-cdn.com/elastic/original/3X/c/b/cb128ae343666e6b9681e6608af94341bb1c3ecb.png)

 ![Screenshot from 2022-07-12 10-33-43](https://us1.discourse-cdn.com/elastic/original/3X/6/b/6b0da9aac05aa8eeafa826c19e914455e419d99d.png)

I already tried to apply a filter and sort in a different order with no success.

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [July 13, 2022, 4:35pm UTC](https://discuss.elastic.co/t/how-to-filter-out-values-in-kibana/309389/3 "2022-07-13T16:35:57Z")

</div>

What do you mean by "These are also sorted above normal percentages"? I'd recommend you to use lens instead of TSVB, it's more intuitive and easier to use.

---

<div class="post-metadata">

### Author: ![Mebravo](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@Mebravo](https://discuss.elastic.co/u/Mebravo)
#### Post date: [July 15, 2022, 9:37am UTC](https://discuss.elastic.co/t/how-to-filter-out-values-in-kibana/309389/4 "2022-07-15T09:37:34Z")

</div>

Thanks for the reply!

The second picture is an example of a lens visualization. Here i sorted all the processes on CPU utilization (system.process.cpu.total.pct from Metricbeat) and ranked them descending. how can I prevent the "-" values like in the second picture? And how come that these are ranked ahead of normal values when ranked descending?

---

<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: [August 12, 2022, 9:38am UTC](https://discuss.elastic.co/t/how-to-filter-out-values-in-kibana/309389/5 "2022-08-12T09:38:29Z")

</div>

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