InfluxDB | ||||||
|
influxDBAdministrationinflux -username='admin' -password='admin' DatenimportCreate a file with the following content # DDL # DML # CONTEXT-DATABASE: databasename table,tag1=bla,tag2=blub value1=1,value2=2 time-in-nanoseconds table,tag1=bla,tag2=blub value1=1,value2=2 time-in-nanoseconds table,tag1=bla,tag2=blub value1=1,value2=2 time-in-nanoseconds table,tag1=bla,tag2=blub value1=1,value2=2 time-in-nanoseconds ... Run the command influx -import -path="data.influxdb" -username='username' -password='password' Create User, GRANT PrivilegesCREATE USER blablabla WITH PASSWORD 'blablabla' GRANT ALL on databasename TO username More to read here: https://docs.influxdata.com/influxdb/v1.8/administration/authentication_and_authorization/#user-management-commands |