6 InfluxData is based on the TICK stack, the first open source platform for managing IoT time-series data at scale.
11 Single-node influxdb, enabled http frontend and admin web interface:
29 Single-node influxdb, SSL for http frontend:
40 key_file: /etc/influxdb/ssl/key.pem
41 cert_file: /etc/influxdb/ssl/cert.pem
43 Single-node influxdb where you specify paths for data and metastore directories. Custom
44 directories are created by this formula:
52 dir: '/opt/influxdb/data'
53 wal_dir: '/opt/influxdb/wal'
55 dir: '/opt/influxdb/meta'
57 InfluxDB server with customized parameters for the data service:
65 max_series_per_database: 20000000
66 cache_max_memory_size: 524288000
67 cache_snapshot_memory_size: 26214400
68 cache_snapshot_write_cold_duration: "5m"
69 compact_full_write_cold_duration: "2h"2h"
70 max_values_per_tag: 5000
72 Single-node influxdb with an admin user:
94 Single-node influxdb with new users:
105 password: keepsecret1
110 password: keepsecret2
112 Single-node influxdb with new databases:
126 Manage the retention policies for a database:
142 Where default values are:
150 Here is how to manage grants on database:
184 location: http://idb01.local:8086/write
187 location: http://idb02.local:8086/write
193 location: idb01.local:9096
195 location: idb02.local:9096
208 http_address: 0.0.0.0
219 Deploy influxdb apt repository (using linux formula):
230 source: 'deb https://repos.influxdata.com/${linux:system:os} ${linux:system:dist} stable'
231 key_url: 'https://repos.influxdata.com/influxdb.key'
233 InfluxDB client for configuring databases, users and retention policies:
268 Create an continuous queries:
277 cq_avg_bus_passengers: >-
278 SELECT mean("passengers") INTO "transportation"."three_weeks"."average_passengers" FROM "bus_data" GROUP BY time(1h)
280 Prunning data and data management:
282 Intended to use in scheduled jobs, executed to maintain data life cycle above retention policy. These states are executed by
283 ``query.sls`` and you are expected to trigger ``sls_id`` individually.
292 drop_measurement_h2o: >-
293 DROP MEASUREMENT h2o_quality
295 DROP SHARD h2o_quality
296 drop_series_h2o_feet: >-
297 DROP SERIES FROM "h2o_feet"
298 drop_series_h2o_feet_loc_smonica: >-
299 DROP SERIES FROM "h2o_feet" WHERE "location" = 'santa_monica'
300 delete_h2o_quality_rt3: >-
301 DELETE FROM "h2o_quality" WHERE "randtag" = '3'
302 delete_h2o_quality: >-
303 DELETE FROM "h2o_quality"
306 .. code-block:: shell
308 salt \* state.sls_id influxdb_query_delete_h2o_quality influxdb.query
311 InfluxDB relay with HTTP outputs:
331 location: http://server1:8086/write
335 max_delay_interval: 30s
337 location: http://server2:8086/write
342 * https://influxdata.com/time-series-platform/influxdb/
344 Documentation and Bugs
345 ======================
347 To learn how to install and update salt-formulas, consult the documentation
350 http://salt-formulas.readthedocs.io/
352 In the unfortunate event that bugs are discovered, they should be reported to
353 the appropriate issue tracker. Use Github issue tracker for specific salt
356 https://github.com/salt-formulas/salt-formula-influxdb/issues
358 For feature requests, bug reports or blueprints affecting entire ecosystem,
359 use Launchpad salt-formulas project:
361 https://launchpad.net/salt-formulas
363 You can also join salt-formulas-users team and subscribe to mailing list:
365 https://launchpad.net/~salt-formulas-users
367 Developers wishing to work on the salt-formulas projects should always base
368 their work on master branch and submit pull request against specific formula.
370 https://github.com/salt-formulas/salt-formula-influxdb
372 Any questions or feedback is always welcome so feel free to join our IRC
375 #salt-formulas @ irc.freenode.net