> For the complete documentation index, see [llms.txt](https://xiaoxiami.gitbook.io/elasticsearch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xiaoxiami.gitbook.io/elasticsearch/ji-chu/pei-zhi-wen-jian.md).

# 3.1.配置文件

Elasticsearch 有两个配置文件

* `elasticsearch.yml  用来配置`Elasticsearch。
* `log4j2.properties  用来配置` Elasticsearch日志。

所在目录：

默认在 `$ES_HOME/config/`, Debian 和 RPM 包安装的配置目录在`/etc/elasticsearch/`
