blob: d352076cf050257018c475171d2bd7b8a7265dda [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),*
Petr Michalec5fc20582017-12-11 15:00:38 +010033 query:
34 insert_h2o_dummy: >-
35 INSERT cpu,host=dummyA value=10
36 delete_h2o_dummy:
37 query: DELETE FROM "h2o_quality"
38 user: admin
39 password: foobar
Simon Pasquierf6169652017-07-17 14:04:19 +020040 mydb2:
41 enabled: true
42 name: mydb2
43 grant:
44 username1_mydb1:
45 enabled: true
46 user: username1
47 database: mydb1
48 privilege: all
49 username1_mydb2:
50 enabled: true
51 user: username1
52 database: mydb2
53 privilege: read