Elasticsearch Configuration¶
Elasticsearch settings need to be added to their configuration files at run-time.
Starting from NetEye 4.16 release, configuration files for Elasticsearch are not anymore modified by neteye install. The support of the run-time configuration is instead done via environment.
The default values for NetEye are stored in the
/neteye/local/elasticsearch/conf/sysconfig/elasticsearch
file and they can be overridden by creating the
/neteye/local/elasticsearch/conf/sysconfig/elasticsearch-user-customization
file and specify the new values.
By restarting Elasticsearch, the new settings are now loaded at run-time, thus overriding the default ones.
Elasticsearch temporary directory¶
NetEye uses the /neteye/local/elasticsearch/data/tmp
directory as the
temporary storage for Elasticsearch. It is essential to ensure that this
directory resides on a filesystem that does not have the noexec
mount option enabled. This directory shall be changed to a different location if
the default one can not meet the requirements, by setting the
ES_TMPDIR environment variable in the user customization file.