filebeat 篇章——filebeat 目录结构和默认路径
filebeat 目录结构和默认路径
https://www.elastic.co/guide/en/beats/filebeat/8.7/directory-layout.html#directory-layout
Type
|
Description
|
Default Location
|
Config Option
|
---|---|---|---|
home |
filebeat 安装的主目录 |
|
|
bin |
filebeat 的二进制文件目录 |
|
|
config |
filebeat 的配置文件目录 |
|
|
data |
filebeat 持久化存储的目录 |
|
|
logs |
filebeat 创建的日志文件目录 |
|
|
Archive installation has a different layout. See zip, tar.gz, or tgz. You can change these settings by using CLI flags or setting path options in the configuration file.
压缩包安装的布局与普通安装有所不同。请参阅 zip、tar.gz 或 tgz。您可以通过使用 CLI flags 或在 setting 文件中设置 "path" options 来更改这些设置。
我们看看 filbeat 的默认路径有哪些(指 deb 和 rpm):
Type
|
Description
|
Location
|
---|---|---|
home |
Home of the Filebeat installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by Filebeat. |
|
再看看 docker 的默认路径:
Type
|
Description
|
Location
|
---|---|---|
home |
Home of the Filebeat installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by Filebeat. |
|
最后看看 zip, tar.gz, 和 tgz 的默认路径:
Type
|
Description
|
Location
|
---|---|---|
home |
Home of the Filebeat installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by Filebeat. |
|