vmware / fluent-plugin-vmware-loginsight

Fluentd plugin to forward logs to VMware Aria Operations for Logs
Other
10 stars 13 forks source link

Replaced some default values and add feature to replace field name #21

Closed mardanyan closed 3 years ago

mardanyan commented 3 years ago

-Replaced scheme and port Latest version by default configured get events only on SSL. So make appropriate scheme and port changes.

-Added feature 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 unacceptable 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

vmwclabot commented 3 years ago

@mardanyan, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

mardanyan commented 3 years ago

New one will be created