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 | |
| 67 | Deploy influxdb apt repository (using linux formula): |
| 68 | |
| 69 | .. code-block:: yaml |
| 70 | |
| 71 | linux: |
| 72 | system: |
| 73 | os: ubuntu |
| 74 | dist: xenial |
| 75 | repo: |
| 76 | influxdb: |
| 77 | enabled: true |
| 78 | source: 'deb https://repos.influxdata.com/${linux:system:os} ${linux:system:dist} stable' |
| 79 | key_url: 'https://repos.influxdata.com/influxdb.key' |
| 80 | |
| 81 | Read more |
| 82 | ========= |
| 83 | |
| 84 | * https://influxdata.com/time-series-platform/influxdb/ |