From caf8eb0bbfcb9407ec4a9f5eef7cde7459de902b Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 15 Apr 2024 21:03:08 +0000 Subject: [PATCH] Update docker/fluentd/fluent.conf --- docker/fluentd/fluent.conf | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf index 7077afe..a8ad572 100644 --- a/docker/fluentd/fluent.conf +++ b/docker/fluentd/fluent.conf @@ -1,39 +1,9 @@ - @type forward + @type http port 24224 - bind "0.0.0.0" + bind 0.0.0.0 - - @type record_transformer - enable_ruby true - - level error - message ${record['log'] || 'default log message'} - timestamp ${time.to_s} # Convert Time to String - service ${tag_parts[0]} - container_image ${tag_parts[1]} - - remove_keys log - - - - @type http - endpoint_url "https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc" - http_method post - headers {"Content-Type":"application/json"} - - flush_interval 10s - - - @type json - + @type stdout - - -