diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf index f7e37eb..7077afe 100644 --- a/docker/fluentd/fluent.conf +++ b/docker/fluentd/fluent.conf @@ -10,20 +10,19 @@ level error message ${record['log'] || 'default log message'} - timestamp ${time} + 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 - - Content-Type application/json - + headers {"Content-Type":"application/json"} flush_interval 10s @@ -32,6 +31,7 @@ +