Hi ,
I am trying to load a text file using file plugin and want to load into Influxdb.by doing so i am getting error and load is not successful. Can you please assist as i am new to this.
My config file is ,
[agent]
debug = true
[[outputs.influxdb]]
url = “http://localhost:8086”
database = “NOAA”
[[inputs.file]]
files = [“/home/ec2-user/sampe_file.txt”]
data_format = “influx”
cat /home/ec2-user/sampe_file.txt
hi,helloi,mindia
kohli,japan,aus
test,t20,ondat
sharakuch,dilip,janta
punjab,harmanopreet,julan
This file is not loading,please let me know where i am doing wrong