blob: 6a386193c4637de0a8322e26227f2693bb3e70cd [file] [log] [blame]
Simon Pasquierf6169652017-07-17 14:04:19 +02001influxdb:
2 client:
3 enabled: true
4 server:
5 protocol: http
6 host: 127.0.0.1
7 port: 8086
8 user: admin
9 password: foobar
10 user:
11 user1:
12 enabled: true
13 admin: true
14 name: username1
15 password: secret
16 database:
17 mydb1:
18 enabled: true
19 name: mydb1
20 retention_policy:
21 - name: rp_db1
22 duration: 30d
23 replication: 1
24 is_default: true
25 - name: rp_db2
26 duration: 365d
27 replication: 1
Petr Michaleca20e4992017-12-06 13:32:13 +010028 continuous_query:
29 cq_avg_passenger: >-
30 SELECT mean("passengers") INTO "transportation"."rp_db1"."average_passengers" FROM "_data" GROUP BY time(1h)
31 cq_basic_br: ->
32 SELECT mean(*) INTO "downsampled_transportation"."autogen".:MEASUREMENT FROM /.*/ GROUP BY time(30m),*
Simon Pasquierf6169652017-07-17 14:04:19 +020033 mydb2:
34 enabled: true
35 name: mydb2
36 grant:
37 username1_mydb1:
38 enabled: true
39 user: username1
40 database: mydb1
41 privilege: all
42 username1_mydb2:
43 enabled: true
44 user: username1
45 database: mydb2
46 privilege: read