blob: ca190c0e857af40ab9bdf7ae468a2fda7c7ac558 [file] [log] [blame]
Simon Pasquierf6169652017-07-17 14:04:19 +02001influxdb:
2 client:
3 enabled: true
Petr Michalec81e6bc52018-01-09 16:48:03 +01004 retry:
5 count: 3
6 delay: 3
Simon Pasquierf6169652017-07-17 14:04:19 +02007 server:
8 protocol: http
9 host: 127.0.0.1
10 port: 8086
11 user: admin
12 password: foobar
13 user:
14 user1:
15 enabled: true
16 admin: true
17 name: username1
18 password: secret
19 database:
20 mydb1:
21 enabled: true
22 name: mydb1
23 retention_policy:
24 - name: rp_db1
25 duration: 30d
26 replication: 1
27 is_default: true
28 - name: rp_db2
29 duration: 365d
30 replication: 1
Petr Michaleca20e4992017-12-06 13:32:13 +010031 continuous_query:
32 cq_avg_passenger: >-
33 SELECT mean("passengers") INTO "transportation"."rp_db1"."average_passengers" FROM "_data" GROUP BY time(1h)
34 cq_basic_br: ->
35 SELECT mean(*) INTO "downsampled_transportation"."autogen".:MEASUREMENT FROM /.*/ GROUP BY time(30m),*
Petr Michalec5fc20582017-12-11 15:00:38 +010036 query:
37 insert_h2o_dummy: >-
38 INSERT cpu,host=dummyA value=10
39 delete_h2o_dummy:
40 query: DELETE FROM "h2o_quality"
41 user: admin
42 password: foobar
Simon Pasquierf6169652017-07-17 14:04:19 +020043 mydb2:
44 enabled: true
45 name: mydb2
46 grant:
47 username1_mydb1:
48 enabled: true
49 user: username1
50 database: mydb1
51 privilege: all
52 username1_mydb2:
53 enabled: true
54 user: username1
55 database: mydb2
56 privilege: read