Filip Pytloun | d6fa6ab | 2016-08-03 15:59:49 +0200 | [diff] [blame] | 1 | |
| 2 | ======== |
| 3 | InfluxDB |
| 4 | ======== |
| 5 | |
| 6 | InfluxData is based on the TICK stack, the first open source platform for managing IoT time-series data at scale. |
| 7 | |
| 8 | Sample pillars |
| 9 | ============== |
| 10 | |
| 11 | Single-node influxdb, enabled http frontend and admin web interface: |
| 12 | |
| 13 | .. code-block:: yaml |
| 14 | |
| 15 | influxdb: |
| 16 | server: |
| 17 | enabled: true |
| 18 | http: |
| 19 | enabled: true |
| 20 | bind: |
| 21 | address: 0.0.0.0 |
| 22 | port: 8086 |
| 23 | admin: |
| 24 | enabled: true |
| 25 | bind: |
| 26 | address: 0.0.0.0 |
| 27 | port: 8083 |
| 28 | |
| 29 | Single-node influxdb, SSL for http frontend: |
| 30 | |
| 31 | .. code-block:: yaml |
| 32 | |
| 33 | influxdb: |
| 34 | server: |
| 35 | enabled: true |
| 36 | http: |
| 37 | bind: |
| 38 | ssl: |
| 39 | enabled: true |
| 40 | key_file: /etc/influxdb/ssl/key.pem |
| 41 | cert_file: /etc/influxdb/ssl/cert.pem |
| 42 | |
| 43 | InfluxDB relay: |
| 44 | |
| 45 | .. code-block:: yaml |
| 46 | |
| 47 | influxdb: |
| 48 | server: |
| 49 | enabled: true |
| 50 | http: |
| 51 | enabled: true |
| 52 | output: |
| 53 | idb01: |
| 54 | location: http://idb01.local:8086/write |
| 55 | timeout: 10 |
| 56 | idb02: |
| 57 | location: http://idb02.local:8086/write |
| 58 | timeout: 10 |
| 59 | udp: |
| 60 | enabled: true |
| 61 | output: |
| 62 | idb01: |
| 63 | location: idb01.local:9096 |
| 64 | idb02: |
| 65 | location: idb02.local:9096 |
| 66 | |
Filip Pytloun | e93852a | 2016-08-03 16:42:42 +0200 | [diff] [blame] | 67 | InfluxDB cluster: |
| 68 | |
| 69 | .. code-block:: yaml |
| 70 | |
| 71 | influxdb: |
| 72 | server: |
| 73 | enabled: true |
| 74 | meta: |
| 75 | bind: |
| 76 | address: 0.0.0.0 |
| 77 | port: 8088 |
| 78 | http_address: 0.0.0.0 |
| 79 | http_port: 8091 |
| 80 | cluster: |
| 81 | members: |
| 82 | - host: idb01.local |
| 83 | port: 8091 |
| 84 | - host: idb02.local |
| 85 | port: 8091 |
| 86 | - host: idb03.local |
| 87 | port: 8091 |
| 88 | |
Filip Pytloun | d6fa6ab | 2016-08-03 15:59:49 +0200 | [diff] [blame] | 89 | Deploy influxdb apt repository (using linux formula): |
| 90 | |
| 91 | .. code-block:: yaml |
| 92 | |
| 93 | linux: |
| 94 | system: |
| 95 | os: ubuntu |
| 96 | dist: xenial |
Guillaume Thouvenin | fa42e98 | 2016-10-21 12:23:23 +0200 | [diff] [blame] | 97 | repo: |
| 98 | influxdb: |
| 99 | enabled: true |
| 100 | source: 'deb https://repos.influxdata.com/${linux:system:os} ${linux:system:dist} stable' |
| 101 | key_url: 'https://repos.influxdata.com/influxdb.key' |
Filip Pytloun | d6fa6ab | 2016-08-03 15:59:49 +0200 | [diff] [blame] | 102 | |
| 103 | Read more |
| 104 | ========= |
| 105 | |
| 106 | * https://influxdata.com/time-series-platform/influxdb/ |