# How ignore counter error in Telegraf?

**URL:** <https://community.influxdata.com/t/how-ignore-counter-error-in-telegraf/29373>\
**Category:** Telegraf\
**Tags:** telegraf\
**Created:** [April 4, 2023, 9:39am UTC](https://community.influxdata.com/t/how-ignore-counter-error-in-telegraf/29373 "2023-04-04T09:39:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matous\_Dvorak](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/matous_dvorak/32/7203_2.png) [@Matous\_Dvorak](https://community.influxdata.com/u/Matous_Dvorak)\
**Post date:** [April 4, 2023, 9:39am UTC](https://community.influxdata.com/t/how-ignore-counter-error-in-telegraf/29373/1 "2023-04-04T09:39:42Z")

</div>

I using win\_perf\_counter plugin in Telegraf and collect data from process. If process doesn’t run, then telegraf in log file has this error:

```auto
2023-02-16T10:33:10Z W! [inputs.win_perf_counters] error while getting value for counter "\\Process(EXCEL)\\Private Bytes", will skip metric: The data is not valid.
2023-02-16T10:33:10Z W! [inputs.win_perf_counters] error while getting value for counter "\\Process(POWERPNT)\\Private Bytes", will skip metric: The data is not valid.
2023-02-16T10:33:10Z W! [inputs.win_perf_counters] error while getting value for counter "\\Process(TOTALCMD64)\\Private Bytes", will skip metric: The data is not valid.

```

Is there any telegraf setting that doesn’t produce this message?

---

<div class="post-metadata">

**Author:** ![jpowers](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jpowers/32/8569_2.png) [@jpowers](https://community.influxdata.com/u/jpowers)\
**Post date:** [April 4, 2023, 12:56pm UTC](https://community.influxdata.com/t/how-ignore-counter-error-in-telegraf/29373/2 "2023-04-04T12:56:24Z")

</div>

> [@Matous\_Dvorak](#):
>
> Is there any telegraf setting that doesn’t produce this message?

Note that it is a warning, even though it has “error” in the actual text 🙂 however there is not a way to turn this off at this time.
