I use the syslog input plugin and then the record reformer plugin to do basically this.
We use chef to deploy everything so I do something like:
<source>
type syslog
port 5140
bind 127.0.0.1
tag syslog_original
</source>
<match syslog_original.**>
type record_reformer
renew_record false
enable_ruby false
tag syslog.${tag_suffix[1]}
<record>
fqdn <%= node[:internal_fqdn] %>
vpc <%= node['dns']['vpc'] %>
site <%= node['dns']['site'] %>
</record>
</match>
So in our case, chef drops the config in place and then fills out the fqdn, vpc, site, etc.. It could also add the ipaddress and a number of other things.
If your case you could just do “ip www.xxx.yyy.zzz” and add it manually under the “record” part.
But record_reformer should do it for you!
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes I do use the syslog plugin.
I would think this feature would be standard as it is included in other paid enterprise solutions.
I am using this for Cisco devices which are a high pulsation of composites that use this.
Appreciate the help.
You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/A2awnRFQsRw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluentd+u...@googlegroups.com.
Sorry autocorrect got me. I meant a large number of companies use Cisco equipment.
Thanks