How ignore counter error in Telegraf?

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:

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?

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

1 Like