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 安装的主目录

 

path.home

bin

filebeat 的二进制文件目录

{path.home}/bin

 

config

filebeat 的配置文件目录

{path.home}

path.config

data

filebeat 持久化存储的目录

{path.home}/data

path.data

logs

filebeat 创建的日志文件目录

{path.home}/logs

path.logs

  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.

/usr/share/filebeat

bin

The location for the binary files.

/usr/share/filebeat/bin

config

The location for configuration files.

/etc/filebeat

data

The location for persistent data files.

/var/lib/filebeat

logs

The location for the logs created by Filebeat.

/var/log/filebeat

  再看看 docker 的默认路径:

Type
Description
Location

home

Home of the Filebeat installation.

/usr/share/filebeat

bin

The location for the binary files.

/usr/share/filebeat

config

The location for configuration files.

/usr/share/filebeat

data

The location for persistent data files.

/usr/share/filebeat/data

logs

The location for the logs created by Filebeat.

/usr/share/filebeat/logs

  最后看看 zip, tar.gz, 和 tgz 的默认路径:

Type
Description
Location

home

Home of the Filebeat installation.

{extract.path}

bin

The location for the binary files.

{extract.path}

config

The location for configuration files.

{extract.path}

data

The location for persistent data files.

{extract.path}/data

logs

The location for the logs created by Filebeat.

{extract.path}/logs

posted @   左扬  阅读(741)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
levels of contents
点击右上角即可分享
微信分享提示