fluent-plugins-nursery / fluent-plugin-remote_syslog

Fluentd plugin for output to remote syslog serivce (e.g. Papertrail)
https://github.com/dlackty/fluent-plugin-remote_syslog
MIT License
68 stars 53 forks source link

Allow for dynamic variables for configuration #31

Closed eric closed 5 years ago

eric commented 5 years ago

Remove validation of placeholders at startup to allow for dynamic variables to be used for hostname, program and others.

This allows for things like:

  <match logs.**>
    @type remote_syslog

    # ...

    # Take these parameters from the record
    hostname ${hostname}
    program ${program}
  </match>
eric commented 5 years ago

I misunderstood how the fluentd output plugins work and this is wrong.