Logstash Directory Layout
editLogstash Directory Layout
editThis section describes the default directory structure that is created when you unpack the Logstash installation packages.
Directory Layout of .zip
and .tar.gz
Archives
editThe .zip
and .tar.gz
packages are entirely self-contained. All files and
directories are, by default, contained within the home directory — the directory
created when unpacking the archive.
This is very convenient because you don’t have to create any directories to start using Logstash, and uninstalling Logstash is as easy as removing the home directory. However, it is advisable to change the default locations of the config and the logs directories so that you do not delete important data later on.
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home directory of the Logstash installation. |
|
|
bin |
Binary scripts, including |
|
|
settings |
Configuration files, including |
|
|
logs |
Log files |
|
|
plugins |
Local, non Ruby-Gem plugin files. Each plugin is contained in a subdirectory. Recommended for development only. |
|
|
Directory Layout of Debian and RPM Packages
editThe Debian package and the RPM package each place config files, logs, and the settings files in the appropriate locations for the system:
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home directory of the Logstash installation. |
|
|
bin |
Binary scripts including |
|
|
settings |
Configuration files, including |
|
|
conf |
Logstash pipeline configuration files |
|
|
logs |
Log files |
|
|
plugins |
Local, non Ruby-Gem plugin files. Each plugin is contained in a subdirectory. Recommended for development only. |
|
|
Directory Layout of Docker Images
editThe Docker images are created from the .tar.gz
packages, and follow a
similar directory layout.
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home directory of the Logstash installation. |
|
|
bin |
Binary scripts, including |
|
|
settings |
Configuration files, including |
|
|
conf |
Logstash pipeline configuration files |
|
|
plugins |
Local, non Ruby-Gem plugin files. Each plugin is contained in a subdirectory. Recommended for development only. |
|
|
Logstash Docker containers do not create log files by default. They log to standard output.