Sign inSign up

zllcwy/fluentd-es

By zllcwy

•Updated over 3 years ago

在原有fluentd镜像基础上,加入了三个插件,以支持后续es日志收集

Image
0

950

zllcwy/fluentd-es repository overview

三种插件:

fluent-plugin-elasticsearch    -->    将日志传输到elasticsearch
fluent-plugin-tail-ex          -->    支持对文件路径、日期的扩展
fluent-plugin-tail-multiline   -->    支持多行数据的收集,能够更好的收集异常信息

⁠docker compose

version: "3.9"
  
services:
  fluentd:
    image: zllcwy/fluentd-es
    container_name: fluentd
    restart: always
    ports:
      - "24224:24224"
      - "24224/24224/udp"
      - "8888:8888"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - [路径]:/fluentd/etc/docker-fluentd.conf 
      - [路径]:/fluentd/log

Tag summary

Content type

Image

Digest

sha256:1ccfb5bf8…

Size

25.2 MB

Last updated

over 3 years ago

docker pull zllcwy/fluentd-es