Hi, i m using TIG stack . I want to display my csv data which is generated from my application. Curently i m trying to send some sample csv file to influxdb to check if it works. But I am not able to see data inj influxdb. I dont get any error while running telegraf conf file but i also dont see any data in influxdb.
this is my telegraf.conf
Global Agent Configuration
hostname = “csv_data”
#flush_interval = “10s”
interval = “1s”
files = [“file.csv”]
data_format = “csv”
csv_header_row_count = 0
csv_column_names = [“id”,“id2”,“id3”,“id4”,“id5”,“end”]
Indicates the number of rows to skip before looking for header information.
csv_skip_rows = 0
Indicates the number of columns to skip before looking for data to parse.
These columns will be skipped in the header as well.
csv_skip_columns = 0
The seperator between csv fields
By default, the parser assumes a comma (",")
csv_delimiter = “,”
The character reserved for marking a row as a comment row
Commented rows are skipped and not parsed
csv_comment = “”
If set to true, the parser will remove leading whitespace from fields
By default, this is false
csv_trim_space = false
Columns listed here will be added as tags. Any other columns
will be added as fields.
csv_tag_columns = 
The column to extract the name of the metric from
csv_measurement_column = “”
The column to extract time information for the metric
csv_timestamp_format must be specified if this is used
csv_timestamp_column = “”
The format of time data extracted from
this must be specified if
csv_timestamp_column is specified
csv_timestamp_format = “”
Output Plugin InfluxDB
database = “test”
urls = [ “http://localhost:8086” ]
username = “ubuntu”
password = “csv@123”
And my csv file
Currently m sending a static file but at runtime the data will be appended to this csv file which will need to be mapped.
What am i doing wrong
I dont get any error when i start telegraf with this conf file.