WARNING: Version 1.6 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. |
|
|
The multiple data locations allows to stripe it. The striping is simple,
placing whole files in one of the locations, and deciding where to place
the file based on the value of the index.store.distributor
setting:
-
least_used
(default) always selects the directory with the most available space
-
random
selects directories at random. The probability of selecting a particular directory is proportional to amount of available space in this directory.
Note, there are no multiple copies of the same data, in that, its similar to RAID 0. Though simple, it should provide a good solution for people that don’t want to mess with RAID. Here is how it is configured:
path.data: /mnt/first,/mnt/second
Or the in an array format:
path.data: ["/mnt/first", "/mnt/second"]
Default Paths
editBelow are the default paths that elasticsearch will use, if not explictly 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. |
|
|
zip and tar.gz
editType | Description | Location |
---|---|---|
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 |
|