# Help with Lens Bar (only show values)

**URL:** https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344
**Category:** Kibana
**Tags:** visualisation
**Created:** [January 3, 2026, 12:25am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344 "2026-01-03T00:25:26Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)
#### Post date: [January 3, 2026, 12:25am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/1 "2026-01-03T00:25:27Z")

</div>

Hello All,

I was creating a visualization of process metrics using Elastic Agent System Integration. This is collecting top processes by CPU.

I am wondering how do I show only data, if you see some values appear but theres no data

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/8/18361e83ef1775e76f2faeda8c54e7035d3f1744.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4c6091774ba5155d38f23c762af5107f60911ca3.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/d/cdc68306c7f7e0e398d6fca59170dd27dfef4c3a.png)

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [January 3, 2026, 12:43am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/2 "2026-01-03T00:43:25Z")

</div>

Hi @erikg

I am having trouble parsing this sentence

> [@erikg](#):
>
> I am wondering how do I show only data, if you see some values appear but theres no data

Can you provide examples

I am not sure how to

_Only show data... But theres no data_

---

<div class="post-metadata">

### Author: ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)
#### Post date: [January 3, 2026, 12:46am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/3 "2026-01-03T00:46:56Z")

</div>

Haha my bad @stephenb

I basically am trying to say, if the current visual suggests certain process names have no data (no bar shown), then I would only prefer seeing process names with data, making the visualization look cleaner.

Hopefully that makes more sense?

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [January 3, 2026, 12:57am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/4 "2026-01-03T00:57:55Z")

</div>

try `process.name : *` or `process.name :* and system.process.cpu.total.norm.pct:*`

 ![Screenshot 2026-01-02 at 4.57.37 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57c1d4d33a428cc58fe2e81af79639dd56c7cd41.png)

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [January 3, 2026, 1:09am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/5 "2026-01-03T01:09:13Z")

</div>

> [@stephenb](#):
>
> process.name :\* and system.process.cpu.total.norm.pct:\*

Huh that did not work when I said top 20 and there was say only 10 reporting.. will need to take a look later... not sure why that is not working

What version are you on

---

<div class="post-metadata">

### Author: ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)
#### Post date: [January 3, 2026, 2:24am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/6 "2026-01-03T02:24:40Z")

</div>

Hello @erikg

As requested by Stephen please share the ELK version?

It seems that when you filter using : \* we get records which has value as 0% which is valid & they are not null so those process we can see on the chart , example of 1 process , in your case http :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/577f1b5ad2d02efadb46aa917fdd6e54a14fc104.png)

I am not sure if we can use below work around :

before :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7eced5e9cd83380ccb3285d6361b224604504af0.png)

after :

`system.process.cpu.total.norm.pct > 0`

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/0/8054d0092d37425c13c1a38908a06354a7c5715d.png)

Thanks!!

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [January 3, 2026, 2:51am UTC](https://discuss.elastic.co/t/help-with-lens-bar-only-show-values/384344/7 "2026-01-03T02:51:47Z")

</div>

@Tortoise @erikg

Interesting... Yup I see the same thing in Lens

`system.process.cpu.total.norm.pct : *` or `system.process.cpu.total.norm.pct >0` in the Top / Overall KQL bar at the top filter it worked but weirdly in the filter in the Metric it does not work... I believe because THAT fillter happens After the Aggregation.

So the lesson is filter in the KQL bar in Lens to reduce the data set  
Actually this ^^^ is a really important way to make your lenses better...

This works in ESQL

```auto
FROM metrics-*
| WHERE process.name IS NOT NULL and system.process.cpu.total.norm.pct IS NOT NULL
| STATS avg_cpu = AVG(system.process.cpu.total.norm.pct) by process.name 
| SORT avg_cpu DESC

```

 ![Screenshot 2026-01-02 at 6.51.11 PM](https://us1.discourse-cdn.com/elastic/original/3X/1/9/195ede1664f878e212e836fcfe996292ece18e90.png)
