From bdb40341c683feb634a4640895310d1e79c25bfc Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 18 Mar 2024 22:50:34 -0400 Subject: [PATCH] fixup --- docker/fluentd/fluent.conf | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf index 31f1656..29536ac 100644 --- a/docker/fluentd/fluent.conf +++ b/docker/fluentd/fluent.conf @@ -4,25 +4,21 @@ bind 0.0.0.0 -# Convert raw logs to JSON format @type record_transformer level "error" - message "${record['log']}" + message "${record['message']}" timestamp "${time}" service "${tag_parts[0]}" container_image "${tag_parts[1]}" - remove_keys "log" - -# Matches logs and forwards them to Sentry @type http - endpoint_url https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc - headers {"Content-Type":"application/json"} + endpoint https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc + headers {"Content-Type": "application/json"} http_method post flush_interval 10s @@ -31,7 +27,3 @@ @type json - -# -# @type stdout -# \ No newline at end of file