setup for loki
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Colin 2024-04-21 15:34:46 -04:00
commit fc4b443431
4 changed files with 12 additions and 10 deletions

View File

@ -1 +1 @@
<!-- build 0 -->
<!-- build 1 -->

View File

@ -3,4 +3,5 @@ USER root
COPY fluent.conf /fluentd/etc/
RUN chown -R fluent:fluent /fluentd && chmod -R 700 /fluentd/etc && \
gem install fluent-plugin-grafana-loki
USER fluent

View File

@ -1,17 +1,18 @@
<source>
@type forward
@type forward
port 24224
</source>
<match **>
@type copy
<match **>
@type copy
<store>
@type gelf
host graylog_graylog
port 12201
@type loki
url "https://loki.nixc.us/loki/api/v1/push"
extra_labels {"job": "fluentd"}
</store>
<store>
@type forward
host fluentd_fluentd
port 24224
port 24224
</store>
</match>
</match>

View File

@ -7,7 +7,7 @@ services:
image: git.nixc.us/nixius/fluentd-ingest:production
ports:
- target: 24224
published: 24224
published: 24225
protocol: tcp
mode: host
networks: