Is possible to read only new CSV files via Telegraf?

If there is a directory where every X time a new .csv file is generated, can Telegraf read only the new files and write on InfluxDB.

I appreciate the answers and links of examples if it is necessary.

Thanks in advance

Hello @JMU,
You can use the tail plugin to tail an existing CSV.

But for new files I think you’d have to use the execd input plugin and create your own solution

Telegraf Plugin Spotlight: Exec & Execd | InfluxData.