添加 elk

This commit is contained in:
BryantHe
2023-05-24 18:42:40 +08:00
parent 22424e2b81
commit fe7b5bd14f
5 changed files with 91 additions and 5 deletions

12
fluentd/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# fluentd/Dockerfile
FROM bitnami/fluentd:1.16.1-debian-11-r13
USER root
RUN ["gem", "sources", "--remove", "https://rubygems.org/"]
RUN ["gem", "sources", "--add", "https://gems.ruby-china.com/"]
RUN ["gem", "sources", "-u"]
RUN ["gem", "install", "fluent-plugin-elasticsearch", "--version", "5.3.0"]
RUN ["gem", "install", "fluent-plugin-typecast", "--version", "0.2.0"]