More than one [[inputs.file]] in telegraf config file ? it is possible?

Hi all,
Can I have more than one [[inputs.file]] in the telegraf configuration?
I have two directories with data coming from different sensors.
Is it possible?

Yes sure, any of the items that are in double brackets ([[ ... ]]) can be added multiple times…

1 Like

Hi Hipska,
if I have more than one [[inputs.file]], How I can write to influxdb to differents databases ?

See this blog post: Telegraf Best Practices: Config Recommendations and Performance Monitoring | InfluxData