Closed aliabbasrizvi closed 3 years ago
Tried with modified configuration. Still no luck. Any help will be appreciated.
<source>
@type forward
</source>
<filter **>
@type add_insert_ids
@log_level debug
</filter>
<filter **>
@type parser
format json
key_name log
reserve_data true
emit_invalid_record_to_error false
</filter>
<filter **>
@type record_transformer
enable_ruby true
time_key timestamp
remove_keys log
<record>
timestamp ${ require 'time'; Time.now.utc.iso8601(3) }
message ${record["log"]}
</record>
</filter>
<label @FLUENT_LOG>
<match fluent.*>
@type stdout
</match>
</label>
<match my_service>
@type google_cloud
use_metadata_service false
</match>
Ended up moving to use fluent-bit. Closing this issue.
I am trying to set up the agent in my container (using debian:10.10).
Every time a message is sent it fails as follows:
Am I missing something in the config here? Would appreciate any feedback.