Compare commits

...

2 Commits

Author SHA1 Message Date
Colin fc4b443431 setup for loki
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-04-21 15:34:46 -04:00
Colin cf99780b4e setup for loki 2024-04-21 15:33:44 -04:00
2 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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>