转载请标明出处:
http://blog.csdn.net/qq_27818541/article/details/108088261
本文出自:【BigManing的博客】

一、前言

用于定义Filebeat相关文件的位置。例如,Filebeat在config路径中查找启动文件,并在log路径中写入日志文件。Filebeat在data路径中查找其registry文件。

用户可以不配置,使用默认的路径。也可以自定义配置路径:

#================================= Paths ======================================# The home path for the Filebeat installation. This is the default base path
# for all other path settings and for miscellaneous files that come with the
# distribution (for example, the sample dashboards).
# If not set by a CLI flag or in the configuration file, the default for the
# home path is the location of the binary.
#path.home:# The configuration path for the Filebeat installation. This is the default
# base path for configuration files, including the main YAML configuration file
# and the Elasticsearch template file. If not set by a CLI flag or in the
# configuration file, the default for the configuration path is the home path.
#path.config: ${path.home}# The data path for the Filebeat installation. This is the default base path
# for all the files in which Filebeat needs to store its data. If not set by a
# CLI flag or in the configuration file, the default for the data path is a data
# subdirectory inside the home path.
#path.data: ${path.home}/data# The logs path for a Filebeat installation. This is the default location for
# the Beat's log files. If not set by a CLI flag or in the configuration file,
# the default for the logs path is a logs subdirectory inside the home path.
#path.logs: ${path.home}/logs

二、配置参数说明

1、path.home

Filebeat安装的主路径。这是所有其他路径设置和发行版附带的其他文件(例如,示例仪表板)的默认基本路径。如果未设置,则主路径的默认值是Filebeat二进制文件的位置。

2、path.config

Filebeat安装的配置路径。这是配置文件的默认基本路径,包括主YAML配置文件和Elasticsearch模板文件。如果设置,则配置路径的默认值为{path.home}路径。

3、path.data

Filebeat的数据路径。这是Filebeat需要存储其数据的所有文件的默认基本路径。如果设置,则数据路径的默认值是{path.home}/data

注意: 每个filebeat实例的path.data必须是唯一的。

4、path.log

Filebeat的日志路径。这是Filebeat日志文件的默认位置。如果未设置,则日志路径的默认值为{path.home}/log

三、默认启动时的路径

比如说用户在 /home/bigmaning/work路径下启动filebeat,那么path.home 就默认为 当前路径。并且可以看到 多了两个文件夹datalog

filebeat7.7.0相关详细配置预览- Paths相关推荐

  1. filebeat7.7.0相关详细配置预览- Setup ILM

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108836968 本文出自:[BigManing的博客] Setup ILM 从7 ...

  2. filebeat7.7.0相关详细配置预览- Filebeat inputs

    文章目录 前言 1.Azure eventhub 2.Cloud Foundry 3.Container 4.~~Docker~~ 5.Google Pub/Sub 6.HTTP JSON 7.Kaf ...

  3. filebeat7.7.0相关详细配置预览- processors - add_host_metadata

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108396028 本文出自:[BigManing的博客] add_host_met ...

  4. filebeat7.7.0相关详细配置预览- processors

    文章目录 一.前言 二.processor 1.add_cloud_metadata 2.add_cloudfoundry_metadata 3.add_docker_metadata 4.add_f ...

  5. filebeat7.7.0相关详细配置预览- processors - script

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108500499 本文出自:[BigManing的博客] script 使用Jav ...

  6. filebeat7.7.0相关详细配置预览- processors - add_id

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108396139 本文出自:[BigManing的博客] add_id 自动追加 ...

  7. filebeat7.7.0相关详细配置预览- processors - timestamp

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108501113 本文出自:[BigManing的博客] timestamp 从某 ...

  8. filebeat7.7.0相关详细配置预览- processors - add_cloud_metadata

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108395438 本文出自:[BigManing的博客] add_cloud_me ...

  9. filebeat7.7.0相关详细配置预览- processors - rename

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108476933 本文出自:[BigManing的博客] rename 重命名字段 ...

最新文章

  1. Zepto.js简介
  2. 高中计算机室名言,高中教室励志标语名言
  3. python算方差_python计算均值方差
  4. VTK:vtkCaptionWidget用法实战
  5. 常用浏览器修改User-Agent的方法
  6. Android1 按钮
  7. 关于wamp5中(apache)设置虚拟主机
  8. FreeRTOS(五)——heap文件解析
  9. 转载︱案例 基于贪心算法的特征选择
  10. You should consider upgrading via the
  11. 西湖论剑2020-BrokenSystems
  12. 计算机学院机考,东华大学计算机学院研究生复试上机考真题.doc
  13. 有关java的演讲稿_有关超级演说家励志的演讲稿
  14. JavaScript实现计时器
  15. java邮箱发送验证码_java 邮箱发送验证码
  16. Arthas开源一周年,Github Star 16K,我们一直在坚持什么?
  17. 牛客算法笔记【second week】
  18. PHP 将数组按照Key分组
  19. 2db多少功率_功率和dB的关系很详细
  20. 57步进电机驱动板,可以通过编码器调速,支持SPI通讯屏显示,485通讯

热门文章

  1. 西北工业大学计算机二级考点,2020年3月全国计算机等级考试报名通知
  2. ansible常用模块应用
  3. 【测试用例练习】测试购物车(含思路)
  4. 计算机教学反思杂文,懒教学反思随笔
  5. 计算机应用基础教研设想,《计算机应用基础》集体备课方案.doc
  6. STO,跨公司采购,第三方销售,跨公司销售
  7. 修改app绕过模拟器检测_通过手机模拟器爬腾讯新闻APP数据
  8. Kali Linux - 嗅探和欺骗及密码破解工具
  9. SQLSERVER 多表联合查询(join)
  10. Python小程序(7)输出国际象棋盘