Compare commits
No commits in common. "fc4b443431aed0b9e5c6f9a9ecc3955daca66db7" and "ba146b04ef4c75daf11e106883253871caeb0e7a" have entirely different histories.
fc4b443431
...
ba146b04ef
|
|
@ -2,6 +2,5 @@ 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-grafana-loki
|
gem install fluent-plugin-gelf
|
||||||
|
|
||||||
USER fluent
|
USER fluent
|
||||||
|
|
@ -1,18 +1,19 @@
|
||||||
<source>
|
<source>
|
||||||
@type forward
|
@type forward
|
||||||
port 24224
|
port 24224
|
||||||
</source>
|
</source>
|
||||||
|
<match **>
|
||||||
<match **>
|
@type copy
|
||||||
@type copy
|
|
||||||
<store>
|
<store>
|
||||||
@type loki
|
@type gelf
|
||||||
url "https://loki.nixc.us/loki/api/v1/push"
|
host log.nixc.us
|
||||||
extra_labels {"job": "fluentd"}
|
port 12201
|
||||||
</store>
|
</store>
|
||||||
<store>
|
<store>
|
||||||
@type forward
|
@type forward
|
||||||
host fluentd_fluentd
|
<server>
|
||||||
port 24224
|
host ingress.nixc.us
|
||||||
|
port 24224
|
||||||
|
</server>
|
||||||
</store>
|
</store>
|
||||||
</match>
|
</match>
|
||||||
Loading…
Reference in New Issue