Getting issue on filed name for event after running logs with below command
docker run --log-driver=fluentd --log-opt tag="docker.{{.ID}}" ubuntu echo 'Hello Fluentd!'
Generated logs has field with name source which is unacceptible by loginsight.
Added feature to rename field name with preferable one.
Configuration name is replace_field_name, which by default has following mapping
config_param :replace_field_name, :hash, default: {"source": "log_source"}, value_type: :string
Getting issue on filed name for event after running logs with below command docker run --log-driver=fluentd --log-opt tag="docker.{{.ID}}" ubuntu echo 'Hello Fluentd!' Generated logs has field with name
source
which is unacceptible by loginsight. Added feature to rename field name with preferable one. Configuration name is replace_field_name, which by default has following mapping config_param :replace_field_name, :hash, default: {"source": "log_source"}, value_type: :stringSigned-off-by: Tigran Mardanyan mrde00@gmail.com