# Can I use a regex to exclude certain charts?

**URL:** <https://community.wandb.ai/t/can-i-use-a-regex-to-exclude-certain-charts/4814>\
**Category:** W&B Help\
**Tags:** dashboard\
**Created:** [July 30, 2023, 4:27pm UTC](https://community.wandb.ai/t/can-i-use-a-regex-to-exclude-certain-charts/4814 "2023-07-30T16:27:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfeuer](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mfeuer](https://community.wandb.ai/u/mfeuer)\
**Post date:** [July 30, 2023, 4:27pm UTC](https://community.wandb.ai/t/can-i-use-a-regex-to-exclude-certain-charts/4814/1 "2023-07-30T16:27:46Z")

</div>

Hey there community,

I am logging a lot of single values that I want to aggregate into a single chart in wandb, but unfortunately the default is that these values all get their own chart, so I have to tediously move them all to the “hidden panels”. They are all named after a schema, which I would like to exclude from the chart section with a regex, but I could not yet find an option to do so.

Is logging like this just bad practice, should I pre-aggregate it? Is there an efficient way to remove more panels with a single click? How to approach this issue?

Hope someone can help me out here, thanks!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/3/3c5c166180d69f2663e083b17e49521b92d3a2a8.png)

---

<div class="post-metadata">

**Author:** ![nathank](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nathank](https://community.wandb.ai/u/nathank)\
**Post date:** [August 2, 2023, 4:51pm UTC](https://community.wandb.ai/t/can-i-use-a-regex-to-exclude-certain-charts/4814/2 "2023-08-02T16:51:34Z")

</div>

Hi @mfeuer, would you be opposed to adding a prefix to the metric names so that it will move them to their own section in the UI which you could then collapse?

For example:

```auto
run.log({
    "hide_these/metric_a" : metric_a,
    "hide_these/metric_b" : metric_b
})

```

This would make them show up in a separate section in the UI called “hide\_these”

---

<div class="post-metadata">

**Author:** ![mfeuer](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mfeuer](https://community.wandb.ai/u/mfeuer)\
**Post date:** [August 3, 2023, 8:39am UTC](https://community.wandb.ai/t/can-i-use-a-regex-to-exclude-certain-charts/4814/3 "2023-08-03T08:39:19Z")

</div>

Not opposed to that at all, thanks for the idea!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [October 2, 2023, 8:39am UTC](https://community.wandb.ai/t/can-i-use-a-regex-to-exclude-certain-charts/4814/4 "2023-10-02T08:39:50Z")

</div>

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