Configuration / fichiers utiles
###############################

Se reporter au :term:`DIN`, qui configure le `cluster` ElasticSearch de la chaîne de log.

Les fichiers de configuration sont définis sous ``/vitam/conf/elasticsearch-log``.

Fichier ``/vitam/conf/elasticsearch-log/log4j2.properties``
----------------------------------------------------------------------

.. literalinclude:: ../../../../../deployment/ansible-vitam/roles/elasticsearch-cluster/templates/log4j2.properties.j2
   :language: text

Fichier ``/vitam/conf/elasticsearch-log/jvm.options``
----------------------------------------------------------------------

.. literalinclude:: ../../../../../deployment/ansible-vitam/roles/elasticsearch-cluster/templates/jvm.options.j2
   :language: text

Fichier ``/vitam/conf/elasticsearch-log/elasticsearch.yml``
----------------------------------------------------------------------

.. literalinclude:: ../../../../../deployment/ansible-vitam/roles/elasticsearch-cluster/templates/elasticsearch.log.yml.j2
   :language: text

Fichier ``/vitam/conf/elasticsearch-log/sysconfig``
----------------------------------------------------------------------

.. literalinclude:: ../../../../../deployment/ansible-vitam/roles/elasticsearch-cluster/templates/sysconfig.conf.j2
   :language: text

Fichier ``/usr/lib/tmpfiles.d/elasticsearch-log.conf``
-------------------------------------------------------

.. literalinclude:: ../../../../../deployment/ansible-vitam/roles/elasticsearch-cluster/templates/tempfile.d-elasticsearch.conf.j2
   :language: text
