There is a task to index csv structured files where the structure depends on one or several fields. For example in one file you may have:
Each record set and length can be completely different except first common fields and keyfields, which we know. We also know the headers set for each keyfield.
Is there a way to help telegraf automatically process the files depending on the keyfield value and output to influxdb?