key_file: /etc/influxdb/ssl/key.pem
cert_file: /etc/influxdb/ssl/cert.pem
+Single-node influxdb where you specify paths for data and metastore directories. You
+need to ensure that directories exist:
+
+.. code-block:: yaml
+
+ influxdb:
+ server:
+ enabled: true
+ data:
+ dir: '/opt/influxdb/data'
+ wal_dir: '/opt/influxdb/wal'
+ meta:
+ dir: '/opt/influxdb/meta'
+
Single-node influxdb with an admin user:
.. code-block:: yaml
enabled: true
name: mydb2
+Manage the retention policies for a database:
+
+.. code-block:: yaml
+
+ influxdb:
+ server:
+ database:
+ mydb1:
+ enabled: true
+ name: mydb1
+ retention_policy:
+ - name: rp_db1
+ duration: 30d
+ replication: 1
+ is_default: true
+
+Where default values are:
+
+* name = autogen
+* duration = INF
+* replication = 1
+* is_default: false
+
+
Here is how to manage grants on database:
.. code-block:: yaml