# The following label is to ignore Fluentd warning events.
@type tail
@id in_tail_apacheError
path /var/log/apacheError.log
pos_file /var/log/fluentd-apacheError.log.pos
read_from_head true
path_key tailed_path
tag oci.apacheError
@type none
@type record_transformer
enable_ruby true
oci_la_global_metadata ${{: , :}}
oci_la_entity_id # If same across sources. Else keep this in individual filters
oci_la_entity_type # If same across sources. Else keep this in individual filters
@type record_transformer
enable_ruby true
oci_la_metadata ${{: , :}}
oci_la_log_source_name
oci_la_log_group_id
oci_la_log_path "${record['tailed_path']}"
tag ${tag}
@type oci-logging-analytics
namespace
# Auth config file details
config_file_location ~/.oci/config
profile_name DEFAULT
# Configuration for plugin (oci-logging-analytics) generated logs
plugin_log_location /var/log
plugin_log_level info
# Buffer Configuration
@type file
Path /var/log
retry_forever true
disable_chunk_backup true