This commit is contained in:
Colin 2024-03-18 23:50:04 -04:00
parent f5cde84adb
commit ffa247bd77
1 changed files with 4 additions and 4 deletions

View File

@ -10,20 +10,19 @@
<record> <record>
level error level error
message ${record['log'] || 'default log message'} message ${record['log'] || 'default log message'}
timestamp ${time} timestamp ${time.to_s} # Convert Time to String
service ${tag_parts[0]} service ${tag_parts[0]}
container_image ${tag_parts[1]} container_image ${tag_parts[1]}
</record> </record>
remove_keys log remove_keys log
</filter> </filter>
<match **> <match **>
@type http @type http
endpoint_url "https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc" endpoint_url "https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc"
http_method post http_method post
<headers> headers {"Content-Type":"application/json"}
Content-Type application/json
</headers>
<buffer> <buffer>
flush_interval 10s flush_interval 10s
</buffer> </buffer>
@ -32,6 +31,7 @@
</format> </format>
</match> </match>
<label @FLUENT_LOG> <label @FLUENT_LOG>
<match fluent.**> <match fluent.**>
@type stdout @type stdout