Compare commits
2 Commits
ba146b04ef
...
fc4b443431
| Author | SHA1 | Date |
|---|---|---|
|
|
fc4b443431 | |
|
|
cf99780b4e |
|
|
@ -2,5 +2,6 @@ FROM fluent/fluentd:v1.12-debian-1
|
|||
USER root
|
||||
COPY fluent.conf /fluentd/etc/
|
||||
RUN chown -R fluent:fluent /fluentd && chmod -R 700 /fluentd/etc && \
|
||||
gem install fluent-plugin-gelf
|
||||
gem install fluent-plugin-grafana-loki
|
||||
|
||||
USER fluent
|
||||
|
|
@ -1,19 +1,18 @@
|
|||
<source>
|
||||
@type forward
|
||||
@type forward
|
||||
port 24224
|
||||
</source>
|
||||
<match **>
|
||||
@type copy
|
||||
|
||||
<match **>
|
||||
@type copy
|
||||
<store>
|
||||
@type gelf
|
||||
host log.nixc.us
|
||||
port 12201
|
||||
@type loki
|
||||
url "https://loki.nixc.us/loki/api/v1/push"
|
||||
extra_labels {"job": "fluentd"}
|
||||
</store>
|
||||
<store>
|
||||
@type forward
|
||||
<server>
|
||||
host ingress.nixc.us
|
||||
port 24224
|
||||
</server>
|
||||
host fluentd_fluentd
|
||||
port 24224
|
||||
</store>
|
||||
</match>
|
||||
</match>
|
||||
|
|
|
|||
Loading…
Reference in New Issue