InfluxDB 命令

  • Connection
    • influx -host 192.168.16.201 -port 8786
  • Database
    • show databases
    • create database mydb
    • user mydb
  • Datapoint
    • <measurement>[,<tag-key>=<tag-value>...] <field-key>=<field-value>[,<field2-key>=<field2-value>...] [unix-nano-timestamp]
    • INSERT cpu,host=serverA,region=us_west value=0.64
    • SELECT "host", "region", "value" FROM "cpu"
相關文章
相關標籤/搜索