Unable to install fluentd plugin

1,049 views
Skip to first unread message

Saranya Nagaraj

unread,
May 9, 2017, 4:27:51 AM5/9/17
to Fluentd Google Group
I get below output when I try to install any plugin. Not able to figure out the solution.

Could someone please guide?

 ./td-agent-gem install fluent-plugin-kafka-0.4.1

ERROR:  Could not find a valid gem 'fluent-plugin-kafka-0.4.1' (>= 0) in any repository

Mr. Fiber

unread,
May 9, 2017, 7:17:39 AM5/9/17
to Fluentd Google Group
If you want to specify version, use -v option.
fluent-plugin-kafka -v 0.4.1, not fluent-plugin-kafka-0.4.1.


Masahiro 

--
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.

Saranya Nagaraj

unread,
May 9, 2017, 7:34:42 AM5/9/17
to Fluentd Google Group
I still face same error:

 ./td-agent-gem install fluent-plugin-kafka -v 0.4.1

ERROR:  Could not find a valid gem 'fluent-plugin-kafka' (>= 0) in any repository


On Tuesday, May 9, 2017 at 4:47:39 PM UTC+5:30, repeatedly wrote:
If you want to specify version, use -v option.
fluent-plugin-kafka -v 0.4.1, not fluent-plugin-kafka-0.4.1.


Masahiro 
On Tue, May 9, 2017 at 5:27 PM, Saranya Nagaraj <saranya...@gmail.com> wrote:
I get below output when I try to install any plugin. Not able to figure out the solution.

Could someone please guide?

 ./td-agent-gem install fluent-plugin-kafka-0.4.1

ERROR:  Could not find a valid gem 'fluent-plugin-kafka-0.4.1' (>= 0) in any repository

--
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.

Mr. Fiber

unread,
May 9, 2017, 8:15:00 AM5/9/17
to Fluentd Google Group
ERROR:  Could not find a valid gem 'fluent-plugin-kafka' (>= 0) in any repository

Is this entire log?

To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.

Saranya Nagaraj

unread,
May 9, 2017, 8:20:56 AM5/9/17
to Fluentd Google Group
Yes, Im just executing the install command:

[root@vc2cmmka264616n sbin]# ./td-agent-gem install fluent-plugin-kafka -v 0.4.1

ERROR:  Could not find a valid gem 'fluent-plugin-kafka' (= 0.4.1) in any repository

[root@vc2cmmka264616n sbin]# ^C

Mr. Fiber

unread,
May 12, 2017, 9:23:17 AM5/12/17
to Fluentd Google Group
How about using /opt/td-agent/embedded/bin/fluent-gem instead of ./td-agent-gem?


To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.

Saranya Nagaraj

unread,
May 20, 2017, 5:32:19 AM5/20/17
to Fluentd Google Group
Hi,,
>
>  
>
> I installed using command.
>
>  

./td-agent-gem install fluent-plugin-kafka --source http://rubygems.org


But I’m little confused.

>
>  
>
I can install gems via /opt/td-agent/embedded/bin using ./gem and ./fluent-gem

and also via /usr/sbin via ./td-agent-gem..



1.   whats the difference amongst these three?



2.  If I’m installing fluentd agent via /opt/td-agent/embedded/bin/ fluent-gem .
Does this mean I’m installing the community driven fluentd agent with /etc/fluentd/fluentd.conf and I can use Fluentd agent instead of td-agent??

Please correct me if my understanding is incorrect.

Reply all
Reply to author
Forward
0 new messages