Hi!
Here
https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#input-plugins
the log_level parameter is listed as available, for any plugin.
But setting it at inputs.snmp with version 1.31.2 fails:
2024-09-05T16:20:05Z E! error loading config file /home/paas/telegraf/prod/ARBBCWP_GDE_LSW_SEQ0102/INPUTS_SNMPv2-MIB.conf: plugin inputs.snmp: line 1: configuration specified the fields ["log_level"], but they were not used. This is either a typo or this config option does not exist in this version.
This is my conf file:
[[inputs.snmp]]
agents = ["udp://nnn.nnn.nnn.nnn:161"]
timeout = "15s"
version = 2
community = "xxxxxxxxxxxx"
retries = 5
max_repetitions = 10
interval = "24h"
agent_host_tag = "source"
tagexclude = ["host"]
log_level = "debug"
Is it an error in the version or the log_level was not available for snmp plugin?
Regards!