Install yaml plugin to logstash

In fact, the easiest way to install yaml filter plugin is to run:

sudo -u logstash ./bin/logstash-plugin install logstash-filter-yaml

But because of the network problem, I can’t connect to ruby-gems site, whether I use a proxy or not, the command always shows the warning below:

So I have to build the plugin by myself then install the plugin. If you meet with the same problem with me, you can following the instruction below.

Download the latest release from github:

Copy the link of the zip file, download to your server… Read the rest