filebeat7.7.0相关详细配置预览- Paths
转载请标明出处:
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
就默认为 当前路径。并且可以看到 多了两个文件夹data
和 log
filebeat7.7.0相关详细配置预览- Paths相关推荐
- filebeat7.7.0相关详细配置预览- Setup ILM
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108836968 本文出自:[BigManing的博客] Setup ILM 从7 ...
- filebeat7.7.0相关详细配置预览- Filebeat inputs
文章目录 前言 1.Azure eventhub 2.Cloud Foundry 3.Container 4.~~Docker~~ 5.Google Pub/Sub 6.HTTP JSON 7.Kaf ...
- filebeat7.7.0相关详细配置预览- processors - add_host_metadata
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108396028 本文出自:[BigManing的博客] add_host_met ...
- filebeat7.7.0相关详细配置预览- processors
文章目录 一.前言 二.processor 1.add_cloud_metadata 2.add_cloudfoundry_metadata 3.add_docker_metadata 4.add_f ...
- filebeat7.7.0相关详细配置预览- processors - script
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108500499 本文出自:[BigManing的博客] script 使用Jav ...
- filebeat7.7.0相关详细配置预览- processors - add_id
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108396139 本文出自:[BigManing的博客] add_id 自动追加 ...
- filebeat7.7.0相关详细配置预览- processors - timestamp
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108501113 本文出自:[BigManing的博客] timestamp 从某 ...
- filebeat7.7.0相关详细配置预览- processors - add_cloud_metadata
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108395438 本文出自:[BigManing的博客] add_cloud_me ...
- filebeat7.7.0相关详细配置预览- processors - rename
转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108476933 本文出自:[BigManing的博客] rename 重命名字段 ...
最新文章
- Zepto.js简介
- 高中计算机室名言,高中教室励志标语名言
- python算方差_python计算均值方差
- VTK:vtkCaptionWidget用法实战
- 常用浏览器修改User-Agent的方法
- Android1 按钮
- 关于wamp5中(apache)设置虚拟主机
- FreeRTOS(五)——heap文件解析
- 转载︱案例 基于贪心算法的特征选择
- You should consider upgrading via the
- 西湖论剑2020-BrokenSystems
- 计算机学院机考,东华大学计算机学院研究生复试上机考真题.doc
- 有关java的演讲稿_有关超级演说家励志的演讲稿
- JavaScript实现计时器
- java邮箱发送验证码_java 邮箱发送验证码
- Arthas开源一周年,Github Star 16K,我们一直在坚持什么?
- 牛客算法笔记【second week】
- PHP 将数组按照Key分组
- 2db多少功率_功率和dB的关系很详细
- 57步进电机驱动板,可以通过编码器调速,支持SPI通讯屏显示,485通讯