WARNING: Version 2.4 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Directory Layout
editDirectory Layout
editThe directory layout of an installation is as follows:
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home of elasticsearch installation. |
|
|
bin |
Binary scripts including |
|
|
conf |
Configuration files including |
|
|
data |
The location of the data files of each index / shard allocated on the node. Can hold multiple locations. |
|
|
logs |
Log files location. |
|
|
plugins |
Plugin files location. Each plugin will be contained in a subdirectory. |
|
|
repo |
Shared file system repository locations. Can hold multiple locations. A file system repository can be placed in to any subdirectory of any directory specified here. |
Not configured |
|
script |
Location of script files. |
|
|
Multiple data
paths may be specified, in order to spread data across
multiple disks or locations, but all of the files from a single shard will be
written to the same path. This can be configured as follows:
--------------------------------- path.data: /mnt/first,/mnt/second ---------------------------------
Or in an array format:
---------------------------------------- path.data: ["/mnt/first", "/mnt/second"] ----------------------------------------
To stripe shards across multiple disks, please use a RAID driver instead.
Default Paths
editBelow are the default paths that elasticsearch will use, if not explicitly changed.
deb and rpm
editType | Description | Location Debian/Ubuntu | Location RHEL/CentOS |
---|---|---|---|
home |
Home of elasticsearch installation. |
|
|
bin |
Binary scripts including |
|
|
conf |
Configuration files |
|
|
conf |
Environment variables including heap size, file descriptors. |
|
|
data |
The location of the data files of each index / shard allocated on the node. |
|
|
logs |
Log files location |
|
|
plugins |
Plugin files location. Each plugin will be contained in a subdirectory. |
|
|
repo |
Shared file system repository locations. |
Not configured |
Not configured |
script |
Location of script files. |
|
|
zip and tar.gz
editType | Description | Location |
---|---|---|
home |
Home of elasticsearch installation |
|
bin |
Binary scripts including |
|
conf |
Configuration files |
|
data |
The location of the data files of each index / shard allocated on the node |
|
logs |
Log files location |
|
plugins |
Plugin files location. Each plugin will be contained in a subdirectory |
|
repo |
Shared file system repository locations. |
Not configured |
script |
Location of script files. |
|