Updating the Influxdb database every 1 minute by importing information through a text file

Please remove -database serverstate from the file. This parameter should be used on the command line instead.

influx -database=serverstate -import -path=ServerInfluxdb.txt

Also be aware that you don’t need the retention policy line either and this will cause your data to be deleted after 1d