时间:2020-08-19来源:www.pcxitongcheng.com作者:电脑系统城
今天主要说一下关于fluentd.config的配置,就是在k8s里的configmap文件。
<source>
type tail
format json
path /home/apps/logs/*.log #日志文件
pos_file /home/apps/logs/*.log.pos #偏移
tag lind #标签,对于 match.logstash_prefix,最后在kinaba的索引配置里体现
</source>
<match lind>
@id elasticsearch
@type elasticsearch
@log_level INFO
type_name _doc #只接受_doc
host elasticsearch.elk
port 9200
include_tag_key true
tag_key @log_name
logstash_format true
logstash_prefix fluentd-${tag}
flush_interval 10s
</match> 2026-06-09
win10系统以太网连接图标不见了怎么办 Win10 / Win11 找不到以太网通用解决方法2024-04-11
台式机电脑如何连接外接显示器2024-04-11
小新系列打印机手机配置网络的方法教程一、40系列之后机型 X(250、240s、240、230s) X1 carbon(20BT/20BS) YOGA 11e T(550、540p、450s、450、440s、440p、440、431s) W(550s、540、541) L(450、440、550) E(550、55...
2024-04-11
ThinkPad蓝牙鼠标如何配对解答步骤41U5008鼠标驱动官网地址: https://support.lenovo.com/en_US/downloads/detail.page?&LegacyDocID=MIGR-67201 第一种方式是比较传统的:使...
2024-04-11