Skip to content

Commit ae6c5c9

Browse files
committed
elasticsearch curator rotation added
1 parent 8231e2b commit ae6c5c9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

source/operations_and_monitoring.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,3 +674,24 @@ perform the following cleanup procedure regularly:
674674
openstack user delete --domain magnum $user
675675
fi
676676
done
677+
678+
Elasticsearch indexes retention
679+
===============================
680+
To enable and alter default rotation values for Elasticsearch Curator edit ``${KAYOBE_CONFIG_PATH}/kolla/globals.yml`` - This applies both to Monasca and Central Logging configurations.
681+
682+
.. code-block:: console
683+
684+
# Allow Elasticsearch Curator to apply a retention policy to logs
685+
enable_elasticsearch_curator: true
686+
# Duration after which index is closed
687+
elasticsearch_curator_soft_retention_period_days: 90
688+
# Duration after which index is deleted
689+
elasticsearch_curator_hard_retention_period_days: 180
690+
691+
Reconfigure elasticsearch with new values:
692+
693+
.. code-block:: console
694+
695+
kayobe overcloud service reconfigure --kolla-tags elasticsearch --kolla-skip-tags common --skip-precheck
696+
697+
For more information see `upstream documentation <https://docs.openstack.org/kolla-ansible/ussuri/reference/logging-and-monitoring/central-logging-guide.html#curator>`__

0 commit comments

Comments
 (0)