Error: Unknown output plugin 'elasticsearch'



When you run fluentd with a configuration to send outputs to Elasticsearch, you may hit the error

Example:
sudo td-agent -c nginx.conf 

2017-07-25 05:15:21 +0000 [error]: config error file="nginx.conf" error="Unknown output plugin 'elasticsearch'. Run 'gem search -rd fluent-plugin' to find plugins"

The reported error even occur, if you have successfully installed fulentd plugin to support Elasticsearch output (plugin name: fluent-plugin-elasticsearch) by executing the below command,

sudo gem install fluent-plugin-elasticsearch

Solution:

Fluentd has its own ruby interpreter and gem. Hence fluentd plugins needs to be installed using fluentd version of gem, rather than global gem available in the system

sudo /opt/td-agent/embedded/bin/fluent-gem install fluent-plugin-elasticsearch


Post a Comment

1 Comments

  1. In Bullet VR Roulette, you're be} on the table with mysterious guys who have the ability to|you presumably can} shoot should you draw cards. You’ll need VR headsets like Oculus Rift, HTC Vive, or Valve Index, along with a VR controller to manage the characters. Finding the most effective real cash on line casino for you'll principally depend in your betting preferences. However, we've a 정카지노 number of} recommendations that may push you towards of|in course of} making an knowledgeable final decision.

    ReplyDelete