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>
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]}
</record>
remove_keys log
</filter>
<match **>
@type http
endpoint_url "https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc"
http_method post
<headers>
Content-Type application/json
</headers>
headers {"Content-Type":"application/json"}
<buffer>
flush_interval 10s
</buffer>
@ -32,6 +31,7 @@
</format>
</match>
<label @FLUENT_LOG>
<match fluent.**>
@type stdout