Hello,
I'm using the v0.14 experimental Windows fluentd MSI,
following the instructions at
http://docs.fluentd.org/v0.14/articles/install-by-msi I'm trying to install/use the GELF plugin, to send logs to to Graylog2.
When I try and run fluentd (fluentd -c conf\td-agent.conf), I get the error
[error]:
config error file="conf\\td-agent.conf" error_class=Fluent::ConfigError
error="Unknown output plugin 'gelf'. Run 'gem search-rd fluent-plugin'
to find plugins"
As stated in the documentation, I have
attempted to install the plugin with 'fluent-gem install gelf', which
says it successfully installs, but I get the same error when rerunning.
Am I missing something? Can anyone provide any assistance?
Many thanks,
Stephen
My td-agent.conf file
<source>
type tail
tag graylog2.test.app1
path c:\testlogs\%Y-%m-%d.txt
pos_file c:\testlogs\fluentd-test.log.pos
format multiline
format_firstline /^\[\d{2}\:\d{2}\:\d{2}/
format1 /^\[(?<time>\d{2}\:\d{2}\:\d{2})\: (?<msgtype>.*)\]\: (?<message>.*)/
</source>
<match graylog2.**>
type copy
<store>
type gelf
host
graylog.mydomain.net port 12201
flush_interval 5s
</store>
</match>