I use Telegraf in a Docker container. In logs of Telegraf appears this error: [inputs.redis] Error in plugin: redis: unexpected type=[]interface {} for String
. The Redis is intalled in another server.
The configuration of Redis in telegraf.conf is:
[[inputs.redis]]
servers = ["tcp://myURL:port"]
password = "myPassword"
[[inputs.redis.commands]]
command = ["KEYS","myKey:*"]
field = "myData"
type = "string"
I need help to solve this error, because I need to send the data from Redis to Influxdb.