Manual fluentd elasticsearch plugin installation - no success

792 views
Skip to first unread message

Johann Degner

unread,
Jan 5, 2017, 5:22:19 AM1/5/17
to Fluentd Google Group
Hi guys,

I am trying to install the fluentd elasticsearch plugin manually, because I hadn't success with the automatic gem installation due to the existence of a proxy in my network.

I placed the unpacked folder (downloaded from github) to /etc/td-agent/plugin.
But when I try to start the td-agent after configuring the transmission to elasticsearch in td-agent.conf as it is written in the official fluentd documentation, I only get the following error:

Jan 05 10:27:42 fluentd td-agent[420]: Starting td-agent: 2017-01-05 10:27:42 +0100 [error]: fluent/supervisor.rb:373:rescue in main_process: config error file="/etc/td-agent/td-agent.conf" error="Unknown output plugin 'elasticsearch'. R
Jan 05 10:27:43 fluentd td-agent[420]: td-agent ... failed!
Jan 05 10:27:43 fluentd systemd[1]: td-agent.service: control process exited, code=exited status=1
Jan 05 10:27:43 fluentd systemd[1]: Failed to start LSB: data collector for Treasure Data.
Jan 05 10:27:43 fluentd systemd[1]: Unit td-agent.service entered failed state.

So I guess, that fluentd doesn-t recognize, that I added a plugin manually...
Are there any steps, that I forgot?


Thank you very much for your help!

Johann

Mr. Fiber

unread,
Jan 5, 2017, 5:30:18 AM1/5/17
to Fluentd Google Group
Could you give me the result of `ls /etc/td-agent/plugin`?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mr. Fiber

unread,
Jan 5, 2017, 5:33:34 AM1/5/17
to Fluentd Google Group
BTW, 'gem install fluent-plugin-elasticsearch -p PROXY_SETTING' doesn't work?

Johann Degner

unread,
Jan 5, 2017, 5:53:53 AM1/5/17
to Fluentd Google Group
That's the solution, thanks!
I simply forgot to try out this parameter...
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages