I am using line protocol and Python to write into InfluxDB. Below is the code that creates DB and working fine.
client = InfluxDBClient(host, port, user, password, dbname)
print("Creating database: " + dbname)
client.create_database(dbname)
print("Database created: " + dbname)
I want to write below mention sample data using Line protocol into influxDB
Sample lines of data of Line protocol looks like
interface,path=address,element=link value=3
interface,path=address,element=link value=7
interface,path=address,element=link value=4
I am using latest version of InfluxDB which supports line protocol.
Any idea about how the client.write statement looks like for python client?