setup for loki
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
commit
fc4b443431
|
@ -3,4 +3,5 @@ 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-grafana-loki
|
||||||
|
|
||||||
USER fluent
|
USER fluent
|
|
@ -1,17 +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 graylog_graylog
|
url "https://loki.nixc.us/loki/api/v1/push"
|
||||||
port 12201
|
extra_labels {"job": "fluentd"}
|
||||||
</store>
|
</store>
|
||||||
<store>
|
<store>
|
||||||
@type forward
|
@type forward
|
||||||
host fluentd_fluentd
|
host fluentd_fluentd
|
||||||
port 24224
|
port 24224
|
||||||
</store>
|
</store>
|
||||||
</match>
|
</match>
|
||||||
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
image: git.nixc.us/nixius/fluentd-ingest:production
|
image: git.nixc.us/nixius/fluentd-ingest:production
|
||||||
ports:
|
ports:
|
||||||
- target: 24224
|
- target: 24224
|
||||||
published: 24224
|
published: 24225
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: host
|
mode: host
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue