Parsers_File parsers.conf 1. 2. 3. 4. 5. 2、输入——Input 用于从数据源抽取数据,一个数据管道中可以包含多个 Input。 2.1 常用配置参数: Buffer_Chunk_Size 设置初始缓冲区大小以读取文件数据(默认32k) Buffer_Max_Size 设置每个受监控文件的缓冲大小的限制 Path 通过使用通用统配符指定一个或者多个特定日...
主配置文件路径: /tmp/main.conf Included file: somefile.conf Fluent-Bit会尝试打开 somefile.conf,如果失败会尝试/tmp/somefile.conf include file支持通配符(*): @INCLUDE input_*.conf
Name是必填项,用来加载fluent-bit对应的input插件。除了input中的forward 插件(动态标签),其他所有的插件类型都要定义Tag。 以下是Input部分的示例: [INPUT] Name cpu Tag my_cpu 1. 2. 3. 三、Filter Filter部分定义了一个过滤器(与过滤插件有关),这里将描述每个Filter部分的基本配置。每个Fileter都可以添加自...
backlog.mem_limit 5M [INPUT] name cpu storage.type filesystem [INPUT] name mem storage.type memory 3.4 、Routing 它是一项核心功能,可以通过过滤器把数据路由到一个或者多个目的地。 路由中有两个重要概念: Tag:当数据由输入插件生成时,它会附带一个标签(大多数情况下是人为手动配置该标签),该标签是...
Match kube.* //匹配输入模块中的Tag,即匹配上文中的使用tail插件的那个input模块 Kube_URL https://kubernetes.default.svc:443 Kube_CA_File /var/run/secrets/kubernetes.io/serviceaccount/ca.crt Kube_Token_File /var/run/secrets/kubernetes.io/serviceaccount/token Labels false //不将标签添加到容器日志...
fluent-bit将尝试somefile.conf,如果找不到那么将到/tmp/somefile.conf打开此文件。 @INCLUDE只能在顶部靠左侧使用该指令,不能在p内部使用 如下所示支持通配符(*)包含多个配置文件: 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 @INCLUDEinput_*.conf ...
fluent-bit实现了不少默认的组件:INPUT collectd, cpu-metrics, disk-io-metrics, docker-events, docker-metrics, dummy, exec, fluentbit-metrics, forward, head, health, http, kernel-logs, memory-metrics, mqtt, network-io-metrics, nginx, node-exporter-metrics, process, random, serial-interface, ...
Input Parser Filter Buffer Routing Output 配置 Classic Mode Yaml 安全 本地缓存 监控 Stream Processing 轻量版的Fluentd 安装部署 Helm chart。 helm install fluent-bit fluent/fluent-bit --namespace=logs 污点容忍+auth验证 tolerations: - key: node-role.kubernetes.io/master effect: NoSchedule config: ...
parsers_file /Users/ulric/works/tmp/fluent-bit-n9e-parser.conf [INPUT] Name tail Tag log.n9e Path /Users/ulric/works/n9e.tarball/n9e-v7.4.0-linux-arm64/docker/compose-bridge/n9e-logs/*.log Read_from_head true DB /Users/ulric/works/tmp/tail_n9e.db ...
[INPUT] Name cpu Tag my_cpu [INPUT] Name mem Tag my_mem [OUTPUT] Name stdout Match my_* - Output Output 主要是用来配置采集到的日志数据将要被转发到哪些日志存储服务中,目前已支持多种主流的存储服务,如ElasticSearch、NATS、InfluxDB、Kafka、Splunk、File、Console等,同样也支持将日志数据继...