-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Milestone
Description
I want to use telegraf (version Telegraf 1.8.0~rc1 (git: HEAD 0984fc0d)) to read csv file, but it fails to load config:
[[inputs.tail]]
files = ["/path/test.csv"]
data_format = "csv"
csv_header_row_count = 1
it gives the error:
E! Error parsing telegraf.conf, there must be a header if `csv_data_columns` is not specified
If I use csv_data_columns, it fails too:
[[inputs.tail]]
files = ["/path/test.csv"]
data_format = "csv"
csv_column_names = ["x","y"]
error:
E! Error parsing telegraf.conf, line 4241: field corresponding to `csv_column_names' is not defined in `*tail.Tail'
I am new to telegraf, so I do not know if I config wrong, or is it a bug?
Thanks in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels