influxdata / telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
https://influxdata.com/telegraf
MIT License
14.53k stars 5.56k forks source link

Write CSV Header with Every Remote File #15912

Open caallinson opened 1 week ago

caallinson commented 1 week ago

Use Case

Remote File plug-in can be configured to use CSV as an output format, but the CSV Header (csv_header) option only prints the header in the first file.

Expected behavior

Each file written will have the CSV header row

Actual behavior

Only the first file written has the CSV header row

Additional info

No response