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

Possible to pass through the hostname and the tag fields to the remote syslog? #29

Closed samitpal closed 6 years ago

samitpal commented 6 years ago

I have an architecture where I get parsed fields to fluentd. I then have a requirement to send these events to a remote syslog in addition to sending to ES. I tested with your plugin and it works well except that I was interested in sending the original hostname and the tag (program) to the remote syslog. Is that possible?

samitpal commented 6 years ago

Ok, playing a bit more with the configs, it seems all I had to do is set place holders for program and hostname.

program ${ident} hostname ${host}

<buffer ident,host>

samitpal commented 6 years ago

I'm closing the issue.

scalp42 commented 5 years ago

@samitpal can you share your config?