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