Add Elasticsearch v2 storage driver configuration documentation

Change-Id: I393a2738f4e726e5ef93bf6e431cb8b7e6dfaae5
This commit is contained in:
Luka Peschke 2019-09-25 14:44:51 +02:00
parent 0f6806cbbd
commit c8c7965878
1 changed files with 19 additions and 0 deletions

View File

@ -26,6 +26,7 @@ the configuration file. The following options are available:
Supported v2 drivers are:
- ``influxdb``
- ``elasticsearch``
Driver-specific options
=======================
@ -73,3 +74,21 @@ Section: ``storage_influxdb``.
capacities of your InfluxDB host / cluster, you might want to do
regular exports of your data and create a custom retention policy on
cloudkitty's database.
ElasticSearch (v2)
------------------
Section ``storage_elasticsearch``:
* ``host``: Defaults to ``http://localhost:9200``. Elasticsearch host, along
with port and protocol.
* ``index_name``: Defaults to ``cloudkitty``. Elasticsearch index to use.
* ``insecure``: Defaults to ``false``. Set to true to allow insecure HTTPS
connections to Elasticsearch.
* ``cafile``: Path of the CA certificate to trust for HTTPS connections.
* ``scroll_duration``: Defaults to 30. Duration (in seconds) for which the ES
scroll contexts should be kept alive.