projects:internetofthings:influxdb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:influxdb [2017/11/18 10:19] – [install] scipioprojects:internetofthings:influxdb [2019/09/24 11:07] (current) – [influxdb] scipio
Line 29: Line 29:
  
  
 +</code>
 +
 +select
 +<code>
 +influx -database test -execute 'select * from "mctc.veicoli.get" order by time desc limit 10'
 </code> </code>
  
Line 49: Line 54:
 </code> </code>
  
 +retention 
 +<code> 
 +CREATE RETENTION POLICY "a_year" ON "test" DURATION 52w REPLICATION 1 SHARD DURATION 168h 
 +CREATE RETENTION POLICY "a_week" ON "test" DURATION 168h REPLICATION 1 SHARD DURATION 24h DEFAULT 
 +</code>
 ====== grafana ====== ====== grafana ======
  
  • projects/internetofthings/influxdb.1510996777.txt.gz
  • Last modified: 2017/11/18 10:19
  • by scipio